Show deleted channels.

Test: run cts, verify manually in Settings ui
Change-Id: Ib6376decaa4ae427bb706ea48608a5aa8924da2f
This commit is contained in:
Julia Reynolds
2017-01-13 09:59:20 -05:00
parent c3fdc3e813
commit b41cf299fe
3 changed files with 40 additions and 12 deletions

View File

@@ -92,7 +92,7 @@ public class NotificationBackend {
return null;
}
try {
return sINM.getNotificationChannelForPackage(pkg, uid, channelId);
return sINM.getNotificationChannelForPackage(pkg, uid, channelId, true);
} catch (Exception e) {
Log.w(TAG, "Error calling NoMan", e);
return null;
@@ -101,7 +101,7 @@ public class NotificationBackend {
public ParceledListSlice<NotificationChannel> getChannels(String pkg, int uid) {
try {
return sINM.getNotificationChannelsForPackage(pkg, uid);
return sINM.getNotificationChannelsForPackage(pkg, uid, true);
} catch (Exception e) {
Log.w(TAG, "Error calling NoMan", e);
return ParceledListSlice.emptyList();