summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Winson Chung <winsonc@google.com> 2023-02-18 00:56:43 +0000
committer Winson Chung <winsonc@google.com> 2023-02-18 04:50:44 +0000
commit697cfd806722deb31d8c7e5a636587d22c97d8f0 (patch)
tree83f11c5fcb0429b04a2125b1c1d86adc045ad67f /libs/androidfw/FileStream.cpp
parent3528f2121655873b75142d698d63a77137ba7ff7 (diff)
Fix issue with disable flags being set for the wrong user
- The default status bar manager disable() calls use the binder's calling user (which is always the primary user), so when the bouncer is showing for a secondary user, the flags would be propagated to the non-running primary user. This CL switches to the specific user call to apply the flags to the current user. A separate token is Ok because we also don't want these particular disable calls to clobber disable calls from other parts of SysUI (they will be coalesced into one set of flags when sent so final state is the same) Bug: 264638487 Test: atest SystemUITests Test: Create secondary user, switch to 3 button and show the bouncer to verify the right buttons show then and after unlocking Change-Id: I26371352a2d7e327e499faf19535769ee72175e4
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions