From 2c58a5149533882fe399f90c1e7fd1798cd20c15 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Sun, 30 Apr 2017 22:18:34 -0600 Subject: Stop using deprecated APIs. Test: builds Change-Id: Ia73284f599edbd8f1134eca33e8d1269c2b2129d --- java/com/android/dialer/notification/NotificationChannelManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/com/android') 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()); } } -- cgit v1.2.3