Clarify notification blocking in notification app list.
Change summary to: Normal (nothing blocked), Partially blocked (at least one topic blocked), or Totally blocked (entire app blocked). Allow filtering on apps that are partially or totally blocked. Bug: 26882239 Change-Id: I29924147a97a3d1693b0286d48905485e11edf1d
This commit is contained in:
@@ -821,6 +821,8 @@ public class InstalledAppDetails extends AppInfoBase
|
||||
public static CharSequence getNotificationSummary(AppRow appRow, Context context) {
|
||||
if (appRow.banned) {
|
||||
return context.getString(R.string.notifications_disabled);
|
||||
} else if (appRow.bannedTopics) {
|
||||
return context.getString(R.string.notifications_partially_disabled);
|
||||
}
|
||||
return context.getString(R.string.notifications_enabled);
|
||||
}
|
||||
|
Reference in New Issue
Block a user