Rename NotificationChannel#setBlockableSystem
Rename the method to setBlockable. Also rename isBlockableSystem in the same way. Bug: 151311073 Test: atest NotificationChannelTest Change-Id: I0504f8043dc864fe6677f2e65783068ffa3437ba
This commit is contained in:
@@ -134,7 +134,7 @@ public abstract class NotificationPreferenceController extends AbstractPreferenc
|
||||
return channel.getImportance() == IMPORTANCE_NONE;
|
||||
}
|
||||
|
||||
return channel.isBlockableSystem() || !mAppRow.systemApp
|
||||
return channel.isBlockable() || !mAppRow.systemApp
|
||||
|| channel.getImportance() == IMPORTANCE_NONE;
|
||||
}
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user