Revert "Revert "Clocks were switching too frequently""
This reverts commit1ab0ed29e4. Reason for revert: Fixed Change-Id: I7baacba6dced16bdcaecb0edec14e7fbcb5d4b30 (cherry picked from commit6347dec97b)
This commit is contained in:
@@ -233,7 +233,7 @@ public class KeyguardNotificationVisibilityProviderTest extends SysuiTestCase {
|
||||
|
||||
@Test
|
||||
public void hideSilentNotificationsPerUserSettingWithHighPriorityParent() {
|
||||
when(mKeyguardStateController.isShowing()).thenReturn(true);
|
||||
when(mStatusBarStateController.getCurrentOrUpcomingState()).thenReturn(KEYGUARD);
|
||||
mFakeSettings.putBool(Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, true);
|
||||
mFakeSettings.putBool(Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, false);
|
||||
GroupEntry parent = new GroupEntryBuilder()
|
||||
@@ -255,7 +255,7 @@ public class KeyguardNotificationVisibilityProviderTest extends SysuiTestCase {
|
||||
|
||||
@Test
|
||||
public void hideSilentNotificationsPerUserSetting() {
|
||||
when(mKeyguardStateController.isShowing()).thenReturn(true);
|
||||
when(mStatusBarStateController.getCurrentOrUpcomingState()).thenReturn(KEYGUARD);
|
||||
mFakeSettings.putBool(Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, true);
|
||||
mFakeSettings.putBool(Settings.Secure.LOCK_SCREEN_SHOW_SILENT_NOTIFICATIONS, false);
|
||||
mEntry = new NotificationEntryBuilder()
|
||||
|
||||
Reference in New Issue
Block a user