diff options
| author | 2023-03-03 07:58:35 +0000 | |
|---|---|---|
| committer | 2023-03-03 09:14:41 +0000 | |
| commit | f659e1e35422e773a0197cb2156d1fead1556e05 (patch) | |
| tree | 9f8077b7267ae4ea2918a3dc7b897ec3e315a216 /api/api_test.go | |
| parent | a6b032d1366705713bf837225569c1b6b53e06e2 (diff) | |
Apply delivery group policies to DEVICE_POLICY_MANAGER_STATE_CHANGED.
- 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-most-recent" policy is applied so that if there are
already pending broadcasts waiting to be delivered when a new
broadcast is sent, the old ones are discarded.
Bug: 271530840
Test: atest services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java
Change-Id: I8576ad7748bc0ac533f5749146a989dd11aecff7
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions