Loading packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/NotificationSwipeHelperTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -674,6 +674,7 @@ public class NotificationSwipeHelperTest extends SysuiTestCase { } @Test @EnableFlags(NotificationContentAlphaOptimization.FLAG_NAME) public void testForceResetSwipeStateDoesNothingIfTranslationIsZeroAndAlphaIsOne() { doReturn(FAKE_ROW_WIDTH).when(mNotificationRow).getMeasuredWidth(); doReturn(0f).when(mNotificationRow).getTranslationX(); Loading Loading
packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/NotificationSwipeHelperTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -674,6 +674,7 @@ public class NotificationSwipeHelperTest extends SysuiTestCase { } @Test @EnableFlags(NotificationContentAlphaOptimization.FLAG_NAME) public void testForceResetSwipeStateDoesNothingIfTranslationIsZeroAndAlphaIsOne() { doReturn(FAKE_ROW_WIDTH).when(mNotificationRow).getMeasuredWidth(); doReturn(0f).when(mNotificationRow).getTranslationX(); Loading