Merge "Fixed an issue where USER_ALL notifications were showing" into oc-dev am: 295dd7193e

am: 0151c6886f

Change-Id: I9bc738f6bad45e314e077c2250fe3e086571db7a
This commit is contained in:
Selim Cinek
2017-06-07 18:33:05 +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);
}