summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSuprabh Shukla <suprabh@google.com>2021-04-27 15:18:31 -0700
committerSuprabh Shukla <suprabh@google.com>2021-04-28 13:51:08 -0700
commita8e003f538a4a960d312a355a3c3d5e4c9376b22 (patch)
tree127ff7e1968bcd663baa25450ce70bab0666dc74 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8c9ca8004a95fbc97e50d447d31fe9d2d316c423 (diff)
Recording alarm removal reasons for debugging
If an alarm is removed from the service for some reason, the bugreport contains no useful information about it. Recording the last 10 removes with their reason. For now, the set of reasons includes: - Data cleared on the calling app. - App requested to cancel it. - Exact alarm permission revoked. - PendingIntent used to set the alarm was cancelled. More reasons can be added as seen useful in the future. Test: adb shell dumpsys alarm atest FrameworksMockingServicesTests:com.android.server.alarm atest CtsAlarmManagerTestCases Fixes: 184677899 Change-Id: I9d67b90572b5d731ad5d224ae7d537ae176508d5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions