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

Skip to content
Commit af06141f authored by Pavel Grafov's avatar Pavel Grafov
Browse files

Pass profile userId to notifyLockedProfile

When the stack originates in the primary user and then a profile
activity is added on top, RunningTaskInfo.userId will reflect the
primary user, but this is not the user for which WorkLockActivity should
be launched. With this CL profile userId is passed along the
RunningTaskInfo into onTaskProfileLocked, so that WorkLockActivity is
started for the right user.

Bug: 279024529
Test: atest WmTests:RootWindowContainerTests SystemUITests WMShellUnitTests WMShellTest
Change-Id: I7755243edf73546dc840d0107d0a6bdb695eb45d
parent b0ed44a8
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