diff options
author | Joe LaPenna <jlapenna@google.com> | 2016-04-01 13:37:37 -0700 |
---|---|---|
committer | Joe LaPenna <jlapenna@google.com> | 2016-04-01 14:07:35 -0700 |
commit | 33ee4bf18b51ba78f76e6f3302a21ef7550ae35c (patch) | |
tree | 3e2da697c59c06c5e183366246ffcaa9ae288095 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 9d5aadd5f2f3efbe128feb2e22a57d0aa5e7ad09 (diff) |
Fix NPE in AlarmManager.cancel(...)
If AlarmManager.cancel is called before any component has had a chance
to register an alarm, sWrappers will not have been set, as it is only
initialized in setImpl.
When cancelling an alarm and sWrappers does not exist, log a warning and
return early.
BUG: 27972657
Change-Id: Ied10719ba1d154f97eecfc32f429fd9ce39bf747
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions