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

Commit 3529ad47 authored by Jorge Gil's avatar Jorge Gil
Browse files

Ensure session listener is only registered once on init

With com.android.wm.shell.fix_missing_user_change_callbacks,
UserChangeListener is invoked immediately on registration with the
current user, so to avoid a double session listener registration skip
the first one if the flag is enabled.

Flag: com.android.wm.shell.fix_missing_user_change_callbacks
Bug: 406255019
Bug: 406463255
Test: atest PipControllerTest
Change-Id: I611b58c9d1aea11bc57347d555ce3de7c8233fe4
parent 06ffd3d1
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