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

This commit is contained in:
Selim Cinek
2017-06-07 18:13:25 +00:00
committed by Android (Google) Code Review

View File

@@ -6121,6 +6121,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);
}