commit | 1558e380e471b92152265a7652e0745f409b1a8b | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Mon May 01 09:03:46 2017 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Mon May 01 09:03:50 2017 -0600 |
tree | f9b6faa70e291cd45c063683964403a2fd8513b4 | |
parent | 6640e55e3fd2bb43a85f086dba4bef00ac18b85e [diff] |
Updates based on API council guidance. Test: builds, boots Change-Id: I223faf55c1e1b4d81d11b4c8b2d93ccd131c969b Fixes: 37775662 Fixes: 37748635 Fixes: 37673408 Fixes: 37672564 Fixes: 37672218 Fixes: 37638323 Fixes: 37637423
diff --git a/java/com/android/dialer/notification/NotificationChannelManager.java b/java/com/android/dialer/notification/NotificationChannelManager.java index f23c02a..b795ffe 100644 --- a/java/com/android/dialer/notification/NotificationChannelManager.java +++ b/java/com/android/dialer/notification/NotificationChannelManager.java
@@ -66,7 +66,7 @@ if (BuildCompat.isAtLeastO()) { NotificationChannel channel = NotificationChannelManager.getInstance().getChannel(context, channelName, phoneAccount); - notification.setChannel(channel.getId()); + notification.setChannelId(channel.getId()); } }