diff options
| author | 2022-10-27 10:59:36 -0600 | |
|---|---|---|
| committer | 2022-10-27 11:01:08 -0600 | |
| commit | b0d2de643d2aebbcbf3e4dddcefd8cb70d916d01 (patch) | |
| tree | 9eeaa5487830ca524b09c797a31e0108c2adff98 /libs/androidfw/ConfigDescription.cpp | |
| parent | f08577b99f8ac99004167b588ccf0460945a45d3 (diff) | |
AudioService: ignore restrictions on removed users.
During test suites we've observed that the USER_BACKGROUND broadcast
can be delivered after a user has been deleted, which can cause
operations like setUserRestriction() to fail.
Ignore these cases to avoid a runtime restart.
Bug: 255835206
Test: atest FrameworksMockingServicesTests:BroadcastRecordTest
Test: atest FrameworksMockingServicesTests:BroadcastQueueTest
Test: atest FrameworksMockingServicesTests:BroadcastQueueModernImplTest
Change-Id: Ia31f276079583c447f34815d0e0067959ea77668
Diffstat (limited to 'libs/androidfw/ConfigDescription.cpp')
0 files changed, 0 insertions, 0 deletions