Loading packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/StatusBarRemoteInputCallbackTest.java +4 −4 Original line number Diff line number Diff line Loading @@ -258,8 +258,8 @@ public class StatusBarRemoteInputCallbackTest extends SysuiTestCase { } else { verify(mGroupExpansionManager).toggleGroupExpansion(enrEntry); } verify(privateLayout).setOnExpandedVisibleListener(any()); verify(enr, never()).setUserExpanded(anyBoolean()); verify(privateLayout, never()).setOnExpandedVisibleListener(any()); } @Test Loading Loading @@ -287,10 +287,10 @@ public class StatusBarRemoteInputCallbackTest extends SysuiTestCase { enr, mock(View.class), false, onExpandedVisibleRunner); // THEN verify(privateLayout).setOnExpandedVisibleListener(any()); verify(mGroupExpansionManager, never()).toggleGroupExpansion(enrEntry); verify(mGroupExpansionManager, never()).toggleGroupExpansion(any(NotificationEntryAdapter.class)); verify(enr, never()).setUserExpanded(anyBoolean()); verify(privateLayout, never()).setOnExpandedVisibleListener(any()); } @Test Loading Loading @@ -353,7 +353,7 @@ public class StatusBarRemoteInputCallbackTest extends SysuiTestCase { // THEN verify(enr, never()).toggleExpansionState(); verify(privateLayout, never()).setOnExpandedVisibleListener(onExpandedVisibleRunner); verify(privateLayout).setOnExpandedVisibleListener(onExpandedVisibleRunner); verify(enr, never()).setUserExpanded(anyBoolean()); verify(mGroupExpansionManager, never()).toggleGroupExpansion(any(NotificationEntry.class)); verify(mGroupExpansionManager, never()).toggleGroupExpansion(any(NotificationEntryAdapter.class)); Loading Loading @@ -419,7 +419,7 @@ public class StatusBarRemoteInputCallbackTest extends SysuiTestCase { // THEN verify(enr, never()).toggleExpansionState(); verify(privateLayout, never()).setOnExpandedVisibleListener(onExpandedVisibleRunner); verify(privateLayout).setOnExpandedVisibleListener(onExpandedVisibleRunner); verify(enr, never()).setUserExpanded(anyBoolean()); verify(mGroupExpansionManager, never()).toggleGroupExpansion(any(NotificationEntry.class)); verify(mGroupExpansionManager, never()).toggleGroupExpansion(any(NotificationEntryAdapter.class)); Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarRemoteInputCallback.java +1 −1 Original line number Diff line number Diff line Loading @@ -233,9 +233,9 @@ public class StatusBarRemoteInputCallback implements Callback, Callbacks, if (expandNotification) { // notification isn't expanded, let's make sure it's expanded! row.toggleExpansionState(); row.getPrivateLayout().setOnExpandedVisibleListener(runnable); } } row.getPrivateLayout().setOnExpandedVisibleListener(runnable); } else { if (row.isChildInGroup() && !row.areChildrenExpanded()) { // The group isn't expanded, let's make sure it's visible! Loading Loading
packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/StatusBarRemoteInputCallbackTest.java +4 −4 Original line number Diff line number Diff line Loading @@ -258,8 +258,8 @@ public class StatusBarRemoteInputCallbackTest extends SysuiTestCase { } else { verify(mGroupExpansionManager).toggleGroupExpansion(enrEntry); } verify(privateLayout).setOnExpandedVisibleListener(any()); verify(enr, never()).setUserExpanded(anyBoolean()); verify(privateLayout, never()).setOnExpandedVisibleListener(any()); } @Test Loading Loading @@ -287,10 +287,10 @@ public class StatusBarRemoteInputCallbackTest extends SysuiTestCase { enr, mock(View.class), false, onExpandedVisibleRunner); // THEN verify(privateLayout).setOnExpandedVisibleListener(any()); verify(mGroupExpansionManager, never()).toggleGroupExpansion(enrEntry); verify(mGroupExpansionManager, never()).toggleGroupExpansion(any(NotificationEntryAdapter.class)); verify(enr, never()).setUserExpanded(anyBoolean()); verify(privateLayout, never()).setOnExpandedVisibleListener(any()); } @Test Loading Loading @@ -353,7 +353,7 @@ public class StatusBarRemoteInputCallbackTest extends SysuiTestCase { // THEN verify(enr, never()).toggleExpansionState(); verify(privateLayout, never()).setOnExpandedVisibleListener(onExpandedVisibleRunner); verify(privateLayout).setOnExpandedVisibleListener(onExpandedVisibleRunner); verify(enr, never()).setUserExpanded(anyBoolean()); verify(mGroupExpansionManager, never()).toggleGroupExpansion(any(NotificationEntry.class)); verify(mGroupExpansionManager, never()).toggleGroupExpansion(any(NotificationEntryAdapter.class)); Loading Loading @@ -419,7 +419,7 @@ public class StatusBarRemoteInputCallbackTest extends SysuiTestCase { // THEN verify(enr, never()).toggleExpansionState(); verify(privateLayout, never()).setOnExpandedVisibleListener(onExpandedVisibleRunner); verify(privateLayout).setOnExpandedVisibleListener(onExpandedVisibleRunner); verify(enr, never()).setUserExpanded(anyBoolean()); verify(mGroupExpansionManager, never()).toggleGroupExpansion(any(NotificationEntry.class)); verify(mGroupExpansionManager, never()).toggleGroupExpansion(any(NotificationEntryAdapter.class)); Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarRemoteInputCallback.java +1 −1 Original line number Diff line number Diff line Loading @@ -233,9 +233,9 @@ public class StatusBarRemoteInputCallback implements Callback, Callbacks, if (expandNotification) { // notification isn't expanded, let's make sure it's expanded! row.toggleExpansionState(); row.getPrivateLayout().setOnExpandedVisibleListener(runnable); } } row.getPrivateLayout().setOnExpandedVisibleListener(runnable); } else { if (row.isChildInGroup() && !row.areChildrenExpanded()) { // The group isn't expanded, let's make sure it's visible! Loading