Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit caea5510 authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

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
parent 73c4873c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment