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

Skip to content
Commit a19bbf2b authored by Winson Chung's avatar Winson Chung
Browse files

Disallow non-primary SysUI users from trying to connect to overview service



- This CL does not address the root issue of SysUI components being
  started for profile or secondary users (which should never happen, but
  does based on logs and local testing).  For OPS at least, we should
  not allow these users to try to bind to the OverviewProxyService since
  it will clobber the connection from the primary user preventing
  recents/gesture nav/etc from working
- Also fix a dependency loop which can occur from NavBarHelper/
  AssistManager registering an OPS callback, which is called immediately
  called and triggers creating AssistManager again
- Add some wtfs to monitor when/how these happen later

Bug: 319489709
Test: atest SystemUITests
Test: Constantly enable/disable work profile, verify no connections to TIS
Test: Start switch to secondary user, cancel and verify primary user
      connection to TIS is restored

Change-Id: I784f16e267c727afcbdb37c3d9191759a14c720a
Signed-off-by: default avatarWinson Chung <winsonc@google.com>
parent 684e0da6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment