diff options
| author | 2022-11-29 17:37:34 -0800 | |
|---|---|---|
| committer | 2022-11-29 17:37:34 -0800 | |
| commit | ced7d76ee0cdd2f3a15be8c1cfd65e46df659c79 (patch) | |
| tree | 3d77b9d450025a1fe5ca0b3ca7ff888c990fd610 /libs/androidfw/AssetsProvider.cpp | |
| parent | 90cef8f47366e74bd3888835b21000e3f13e86ab (diff) | |
Apply "most-recent" delivery policy to certain broadcasts.
Applying the policy to DEVICE_IDLE_MODE_CHANGED and
LIGHT_DEVICE_IDLE_MODE_CHANGED broadcasts so that when dispatching
these broadcasts, we can discard any older broadcasts waiting
to be delivered and deliver only the most recent to the receivers.
Bug: 256597171
Bug: 256597397
Test: atest ./tests/tests/batterysaving/src/android/os/cts/deviceidle/DeviceIdleTest.java
Change-Id: Icfade7cd207d525d29856bb050ca4377085dbbc1
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions