diff options
author | Jeff Sharkey <jsharkey@android.com> | 2017-04-30 22:18:34 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2017-04-30 22:18:34 -0600 |
commit | 2c58a5149533882fe399f90c1e7fd1798cd20c15 (patch) | |
tree | f9b6faa70e291cd45c063683964403a2fd8513b4 /java/com/android/dialer/notification/NotificationChannelManager.java | |
parent | 1ce95e9d6dfa596ce5aa321ff563b22113db494d (diff) |
Stop using deprecated APIs.
Test: builds
Change-Id: Ia73284f599edbd8f1134eca33e8d1269c2b2129d
Diffstat (limited to 'java/com/android/dialer/notification/NotificationChannelManager.java')
-rw-r--r-- | java/com/android/dialer/notification/NotificationChannelManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/android/dialer/notification/NotificationChannelManager.java b/java/com/android/dialer/notification/NotificationChannelManager.java index f23c02ad3..b795ffe5d 100644 --- a/java/com/android/dialer/notification/NotificationChannelManager.java +++ b/java/com/android/dialer/notification/NotificationChannelManager.java @@ -66,7 +66,7 @@ public class NotificationChannelManager { if (BuildCompat.isAtLeastO()) { NotificationChannel channel = NotificationChannelManager.getInstance().getChannel(context, channelName, phoneAccount); - notification.setChannel(channel.getId()); + notification.setChannelId(channel.getId()); } } |