diff options
author | Yimin Li <ymli@google.com> | 2022-10-24 10:07:24 -0700 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-10-24 20:08:10 +0000 |
commit | 36a6e5b66c8f4e877378f75619e31eff7396059e (patch) | |
tree | deb28b31518c72a61850df5daa0feffb593178c5 | |
parent | 984449b8f1c9c0862d076489cc7d17b669abbc3b (diff) | |
download | base-36a6e5b66c8f4e877378f75619e31eff7396059e.tar.gz |
Fix dup code
Bug: 255223555
Change-Id: I382d4c1c8329992942cd41788f493ea492bc4725
(cherry picked from commit f8dc0ae1b8ae136501c5f6345836448b174275b6)
Merged-In: I382d4c1c8329992942cd41788f493ea492bc4725
-rw-r--r-- | packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/NotificationShadeWindowControllerImplTest.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/NotificationShadeWindowControllerImplTest.java b/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/NotificationShadeWindowControllerImplTest.java index a24490418e80..bc3f228015b3 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/NotificationShadeWindowControllerImplTest.java +++ b/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/NotificationShadeWindowControllerImplTest.java @@ -244,21 +244,6 @@ public class NotificationShadeWindowControllerImplTest extends SysuiTestCase { verify(mWindowManager, never()).updateViewLayout(any(), any()); }); verify(mWindowManager).updateViewLayout(any(), any()); - - @Test - public void setKeyguardShowing_enablesSecureFlag() { - mNotificationShadeWindowController.setBouncerShowing(true); - - verify(mWindowManager).updateViewLayout(any(), mLayoutParameters.capture()); - assertThat((mLayoutParameters.getValue().flags & FLAG_SECURE) != 0).isTrue(); - } - - @Test - public void setKeyguardNotShowing_disablesSecureFlag() { - mNotificationShadeWindowController.setBouncerShowing(false); - - verify(mWindowManager).updateViewLayout(any(), mLayoutParameters.capture()); - assertThat((mLayoutParameters.getValue().flags & FLAG_SECURE) == 0).isTrue(); } @Test |