Fix potential npe
Fix potential npe

bug 19805515

Change-Id: Id36b145d3ce1c81311e88f5cdd2441880e98f737

xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base