commit | e8e9dbcc23b01c89b07a03a1912d2740ced7f9ee | [log] [tgz] |
---|---|---|
author | Rhiannon Malia <rmalia@google.com> | Mon Jun 05 15:02:55 2017 -0700 |
committer | Isaac Katzenelson <isaack@android.com> | Sat Jun 10 05:22:42 2017 +0000 |
tree | b5d403e73c355c7e0f39f9e25d9d4b2d2e1a8972 | |
parent | 9b39e9abdb0d258adb17783442a551baa0b109ed [diff] |
Update captive portal notif for Android TV Test: Connect to captive portal, notification appears in side panel BUG:38453402 Change-Id: I39baf90897f2f3d67b8b03c31dd74fa1d39d39de
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);