summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJoe LaPenna <jlapenna@google.com>2016-04-01 13:37:37 -0700
committerJoe LaPenna <jlapenna@google.com>2016-04-01 14:07:35 -0700
commit33ee4bf18b51ba78f76e6f3302a21ef7550ae35c (patch)
tree3e2da697c59c06c5e183366246ffcaa9ae288095 /tools/aapt2/java/JavaClassGenerator.cpp
parent9d5aadd5f2f3efbe128feb2e22a57d0aa5e7ad09 (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