Loading
Fix the issue "Turn on work profile?" dialog not displayed for
work profile deep shortcuts when disabled. When work profile is locked, the state change doesn't propagated into UserManagerService immediately. This CL remove that dependency, rather than having Launcher calls UserManager#isUserUnlocked, the state is passed into UserLockStateChangedTask by extracting user state from broadcasted intent at the call-site. Bug: 147210578 Test: manual Change-Id: I87f3d0478df44df60e273189f77b61bc40dd2630