diff options
| author | 2022-09-27 11:22:53 +0000 | |
|---|---|---|
| committer | 2022-11-14 15:49:40 +0000 | |
| commit | 2be074c097351fa94ebf7df5b8dc3d69f108afe1 (patch) | |
| tree | 59bc0e74b528ecd889f9cbab341571bbd4d9f67b /libs/androidfw/StringPool.cpp | |
| parent | f5090690815f979e8c5668aa068ad6067e74a394 (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
Merged-In: I67765a671bce590495b73ef7df6bf72ba3c9f03a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions