summaryrefslogtreecommitdiff
path: root/packages/BackupRestoreConfirmation
diff options
context:
space:
mode:
author Suprabh Shukla <suprabh@google.com> 2025-02-21 16:14:55 -0800
committer Suprabh Shukla <suprabh@google.com> 2025-02-21 16:14:58 -0800
commitcaea55101151f47a33c955b00c685edcc4494c4b (patch)
tree018c70a84fc9726423167d368183f78f5e4bab42 /packages/BackupRestoreConfirmation
parent73c4873c60327cf1a964255fc230560d1a94a4d8 (diff)
Release alarm wakelock if send fails
Now that we're acquiring a wakelock before we dispatch the alarm to the app, we also need to release it in cases where the dispatch results in an exception, because the only other release point is in the path of alarm completion or timeout. Test: atest FrameworksMockingServicesTests:AlarmManagerServiceTest Flag: com.android.server.alarm.acquire_wakelock_before_send Bug: 397950542 Change-Id: I7f119c51e2377841396efb360b38f51c1ab17915
Diffstat (limited to 'packages/BackupRestoreConfirmation')
0 files changed, 0 insertions, 0 deletions