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: Winson Chung <winsonc@google.com>
Loading
Please register or sign in to comment