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:
Hall Liu
2020-03-12 14:54:13 -07:00
parent 4a1f517585
commit 45e4b8948c
4 changed files with 7 additions and 7 deletions

View File

@@ -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;