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

Add a delay to the removal of cached listener alarms

Sometimes a uid may quickly transition between process-states. To allow
for this without causing severe breakages, alarm maanger will wait for
a short duration before removing its exact listener alarms. If the uid
gets uncached during this time, the removal will be cancelled.

To start with, this delay is equal to the default freezer timeout but
this is left to be configurable via device_config.

Test: atest FrameworksMockingServicesTests:AppStateTrackerTest
Test: atest FrameworksMockingServicesTests:AlarmManagerServiceTest

Bug: 265195908
Change-Id: Ia1e57bf5163a0d543bd767ef5a44301331e7c48d
parent c740917d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment