diff options
| author | 2022-11-29 16:49:34 -0800 | |
|---|---|---|
| committer | 2022-12-08 14:40:18 -0800 | |
| commit | e41e16e62310a9c32226fb04ab7e80ba8f58d4e7 (patch) | |
| tree | c9490183ccbe4dd9fa3af9cfb3037eae77294961 /libs/androidfw/ApkParsing.cpp | |
| parent | 91c07d22e5958c1e2f709da217c5839e653cf087 (diff) | |
Apply "most-recent" delivery policy to certain broadcasts.
Applying the policy to VOLUME_CHANGED_ACTION and
STREAM_DEVICES_CHANGED_ACTION 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: 255532206
Bug: 256596007
Test: atest ./tests/tests/media/audio/src/android/media/audio/cts/AudioManagerTest.java
Change-Id: I502c8750c284e1e6ad5105b643a50d83752d86ac
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions