Notification summary updates
- Fix app info summary - Add configure notifications summary Test: make -j RunSettingsRoboTests Change-Id: Ic3c3036ee903fe7403032925a8145693807793d5 Fixes: 77598357 Fixes: 73018368
This commit is contained in:
@@ -150,4 +150,13 @@ public class AppNotificationPreferenceControllerTest {
|
||||
appRow.channelCount = 10;
|
||||
assertThat(mController.getNotificationSummary(appRow, mContext).toString()).isEqualTo("On");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getNotificationSummary_noChannels() {
|
||||
NotificationBackend.AppRow appRow = new NotificationBackend.AppRow();
|
||||
appRow.banned = false;
|
||||
appRow.blockedChannelCount = 0;
|
||||
appRow.channelCount = 0;
|
||||
assertThat(mController.getNotificationSummary(appRow, mContext).toString()).isEqualTo("On");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user