summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author Alejandro Nijamkin <nijamkin@google.com> 2025-02-05 09:24:43 -0800
committer Alejandro Nijamkin <nijamkin@google.com> 2025-02-05 15:49:30 -0800
commit500edc9e5ffb56ee828ae01506d4908e45dc1e05 (patch)
treefa57254371a1cbda4be3da259ebba487910724e7 /libs/androidfw/Util.cpp
parentf4b4cd27d6ba4c0a1ac6e867e896e380ba84c9c8 (diff)
Fixes SecurityException when switching out of Guest user
The attached bug occurs when: 1. The main user has a screen saver QS tile installed 2. The guest user is switched to and a screen saver QS tile is also installed there 3. The guest user mode is exited and we return to the main user 4. QS is accessed It happens because the DreamTile implementation didn't switch the user ID on its UserSettingObservers. This CL adds that handling. Fix: 362308685 Test: manually verified that, with this change, the steps above don't reproduce the SecurityException crash Flag: EXEMPT bug fix Change-Id: I4e80719c64d40213989abfd1159234f7bab1bc2b
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions