Fix rare NPE due to key being delivered after activity is stopped. #2062930
Fix rare NPE due to key being delivered after activity is stopped. #2062930

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