Hide block pref on non-configurable channels
Test: robotests Bug: 109875297 Change-Id: I164ae2e07d178db9e84746e5c59f0968e6c77eae
This commit is contained in:
@@ -138,6 +138,7 @@ public class BlockPreferenceControllerTest {
|
||||
public void testIsAvailable_nonSystemApp() {
|
||||
NotificationBackend.AppRow appRow = new NotificationBackend.AppRow();
|
||||
appRow.systemApp = false;
|
||||
appRow.lockedChannelId = "not this";
|
||||
NotificationChannel channel = mock(NotificationChannel.class);
|
||||
when(channel.getImportance()).thenReturn(IMPORTANCE_HIGH);
|
||||
mController.onResume(appRow, channel, null, null);
|
||||
|
Reference in New Issue
Block a user