Merge changes I80bebcd0,I35f3718f into qt-dev

am: 08793a3b64

Change-Id: I975d97c9ca37aaf74a10a0d6ca4b71fc914047d4
This commit is contained in:
Chalard Jean
2019-06-17 07:21:56 -07:00
committed by android-build-merger

View File

@@ -232,6 +232,11 @@ public class NetworkNotificationManager {
title = r.getString(R.string.network_switch_metered, toTransport);
details = r.getString(R.string.network_switch_metered_detail, toTransport,
fromTransport);
} else if (notifyType == NotificationType.NO_INTERNET
|| notifyType == NotificationType.PARTIAL_CONNECTIVITY) {
// NO_INTERNET and PARTIAL_CONNECTIVITY notification for non-WiFi networks
// are sent, but they are not implemented yet.
return;
} else {
Slog.wtf(TAG, "Unknown notification type " + notifyType + " on network transport "
+ getTransportName(transportType));