summaryrefslogtreecommitdiff
path: root/core/java/android/app/NotificationManager.java
diff options
context:
space:
mode:
authorGeoffrey Pitsch <gpitsch@google.com>2017-03-22 16:42:43 -0400
committerGeoffrey Pitsch <gpitsch@google.com>2017-03-22 16:49:05 -0400
commit3560f847fbffa54f7841320cc0f722778df1222a (patch)
treeec1811c1bda5dde36dffa84e08142cb9d9e8b829 /core/java/android/app/NotificationManager.java
parent000d3082f54bd6f20067f2e79085c35947066855 (diff)
AccountManagerService send pkg uid when creating notification channel
AccountManager needs to pass the app's uid explicitly in order for the channel lookup to not fail. Requires separate API that only system can call. Bug: 36511867 Test: Install Clankium and reboot device, observe Notification Change-Id: I6ddd87d755b4b2129565dd275e799b0349a80936
Diffstat (limited to 'core/java/android/app/NotificationManager.java')
-rw-r--r--core/java/android/app/NotificationManager.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/core/java/android/app/NotificationManager.java b/core/java/android/app/NotificationManager.java
index 097df31ac96e..75998f2eb36d 100644
--- a/core/java/android/app/NotificationManager.java
+++ b/core/java/android/app/NotificationManager.java
@@ -453,19 +453,6 @@ public class NotificationManager
}
/**
- * @hide
- */
- public void createNotificationChannelsForPackage(String pkg,
- @NonNull List<NotificationChannel> channels) {
- INotificationManager service = getService();
- try {
- service.createNotificationChannels(pkg, new ParceledListSlice(channels));
- } catch (RemoteException e) {
- throw e.rethrowFromSystemServer();
- }
- }
-
- /**
* Returns the notification channel settings for a given channel id.
*/
public NotificationChannel getNotificationChannel(String channelId) {