diff options
| author | 2023-02-09 09:39:17 -0800 | |
|---|---|---|
| committer | 2023-02-09 16:49:24 -0800 | |
| commit | 98f06c9829aca92cff7530dd6e6510d0a117ef61 (patch) | |
| tree | cc697fce6d7df22038b4d41841c86e6183becde6 /libs/androidfw/StringPool.cpp | |
| parent | a94af75bc0bf93253c0db4a501e546e4d053aa65 (diff) | |
Apply delivery group policies to ACTION_DROPBOX_ENTRY_ADDED.
- Policies are applied to only broadcasts corresponding to
entries with low priority tags.
- The "set-defer-until-active" policy is applied so that the
broadcast targeted to apps in the Cached state is deferred until
they come out of that state.
- The "deliver-merged" policy is applied so that if there are
already pending broadcasts waiting to be delivered when a new
broadcast is sent, they will be merged into one.
Bug: 268560540
Test: atest ./services/tests/servicestests/src/com/android/server/DropBoxTest.java
Test: atest ./core/tests/coretests/src/android/os/BundleMergerTest.java
Test: atest ./services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueModernImplTest.java
Test: atest ./tests/DropBoxManager/src/android/dropboxmanager/cts/DropBoxTests.java
Change-Id: I805380fc0e762be2d34ce244bfadb593a980af1f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions