diff options
| author | 2023-03-16 14:24:43 -0700 | |
|---|---|---|
| committer | 2023-03-17 16:29:40 -0700 | |
| commit | 8b6a9987f54fea3998d64334438ca558c8310eb5 (patch) | |
| tree | 9bd6d74cac1ba748f1af5f07304c052b690c0ccd /libs/androidfw/ObbFile.cpp | |
| parent | c740917d8f4dc3283992370ee64881a9e526869d (diff) | |
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
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions