Update captive portal notif for Android TV

Test: Connect to captive portal, notification appears in side panel

BUG:38453402
Change-Id: I39baf90897f2f3d67b8b03c31dd74fa1d39d39de
This commit is contained in:
Rhiannon Malia
2017-06-05 15:02:55 -07:00
committed by Isaac Katzenelson
parent b8c7303191
commit 748b603f8d

View File

@@ -210,6 +210,10 @@ public class NetworkNotificationManager {
builder.setContentText(details); builder.setContentText(details);
} }
if (notifyType == NotificationType.SIGN_IN) {
builder.extend(new Notification.TvExtender().setChannelId(channelId));
}
Notification notification = builder.build(); Notification notification = builder.build();
mNotificationTypeMap.put(id, eventId); mNotificationTypeMap.put(id, eventId);