commit | e7ad4b1828fcc46cf2b42dae8df95993b4d30a42 | [log] [tgz] |
---|---|---|
author | Rhiannon Malia <rmalia@google.com> | Sat Jun 10 07:26:51 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Sat Jun 10 07:26:51 2017 +0000 |
tree | e06dc1adcefc2e146cf04187b525fce781fc6ab6 | |
parent | 103292d0b7ac318ecfe9d040a5adfe90099edb02 [diff] | |
parent | e8e9dbcc23b01c89b07a03a1912d2740ced7f9ee [diff] |
Update captive portal notif for Android TV am: e8e9dbcc23 Change-Id: I60a67b0f22aa186e8b738b8a9ee002b2b5b04e42
diff --git a/services/core/java/com/android/server/connectivity/NetworkNotificationManager.java b/services/core/java/com/android/server/connectivity/NetworkNotificationManager.java index 4315aaa..703e50a 100644 --- a/services/core/java/com/android/server/connectivity/NetworkNotificationManager.java +++ b/services/core/java/com/android/server/connectivity/NetworkNotificationManager.java
@@ -210,6 +210,10 @@ builder.setContentText(details); } + if (notifyType == NotificationType.SIGN_IN) { + builder.extend(new Notification.TvExtender().setChannelId(channelId)); + } + Notification notification = builder.build(); mNotificationTypeMap.put(id, eventId);