diff options
| author | 2022-09-27 11:22:53 +0000 | |
|---|---|---|
| committer | 2022-09-28 12:34:54 +0000 | |
| commit | 43d75385149b2a941538da277a21b390fc764904 (patch) | |
| tree | 2d10276c2cbf948356a2d89332114e1be2d135e0 /libs/androidfw/StringPool.cpp | |
| parent | 7c34e2fb22a35283ebd7c1ed25a493d9ea0370c2 (diff) | |
Use UserSwitchObserver to detect switches in the running user
The current implementation relies on listening for
Intent.ACTION_USER_SWITCHED, which can take more than 30
seconds to propagate, making UserSwitchObserver a more
reliable option.
Bug: 242188673
Test: atest mediaroutertest CtsMediaBetterTogetherTestCases
Test: Manually tested casting on secondary users.
Test: Pending CL to verify route availability on secondary users as part of the linked bug.
Change-Id: I67765a671bce590495b73ef7df6bf72ba3c9f03a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions