Merge "Fixed an issue where USER_ALL notifications were showing" into oc-dev

am: 295dd7193e

Change-Id: I1f41744ec2cc5d820e7381858d5974b17db8d893
This commit is contained in:
Selim Cinek
2017-06-07 18:25:12 +00:00
committed by android-build-merger

View File

@@ -6269,6 +6269,9 @@ public class StatusBar extends SystemUI implements DemoMode,
}
public boolean isLockscreenPublicMode(int userId) {
if (userId == UserHandle.USER_ALL) {
return mLockscreenPublicMode.get(mCurrentUserId, false);
}
return mLockscreenPublicMode.get(userId, false);
}