Add missing null check
Add missing null check

Change-Id: I05e288762c00d80f4c0842584daa88c205196b6f

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