Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9ce67085 authored by Alex Stetson's avatar Alex Stetson
Browse files

Prevent visible background users from interfering with the current user's SysUI operations

- Currently, only one SysUI process can register with IStatusBarService
  to listen for the CommandQueue events.
- However, not only the current user but also the visible background
  users can invoke the APIs of IStatusBarService on the devices that
  enable the visible background users.
- If the visible background user calls the APIs,the system service will
  invoke callbacks to the SysUI process which is registered for a user
  different from the one who requested.
- To prevent access from visible background users from interfering with
  the current user's SysUI operations, we should only allow these APIs
  for the system or the current user or the user that belongs to the
  same profile group as the current user.

Bug: 332222893
Test: atest CtsAppTestCases:StatusBarManagerTest
      atest --user-type secondary_user_on_secondary_display CtsAppTestCases:StatusBarManagerTest
Flag: NONE bugfix

Change-Id: I1a256e8d7e9ec46a53d19bb2462b6c4881a62012
parent 6a87e8e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment