fix null pointer crash Bug:20232584
fix null pointer crash
Bug:20232584

Change-Id: I7c46e372bc8f3a54b0428ef56c034eb2c79133ea

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