Index: net/android/network_change_notifier_android.cc |
diff --git a/net/android/network_change_notifier_android.cc b/net/android/network_change_notifier_android.cc |
index eac6589a8ef23ce88c33298923c733f61d570806..d44155cdedcee535b0ae370029dbdde2a4c36d60 100644 |
--- a/net/android/network_change_notifier_android.cc |
+++ b/net/android/network_change_notifier_android.cc |
@@ -162,6 +162,13 @@ void NetworkChangeNotifierAndroid::GetCurrentMaxBandwidthAndConnectionType( |
connection_type); |
} |
+bool NetworkChangeNotifierAndroid::AreNetworkHandlesCurrentlySupported() const { |
+ // Notifications for API using NetworkHandles only implemented for Android |
pauljensen
2015/11/30 20:23:48
API->APIs
pauljensen
2015/11/30 20:23:48
Notifications->Notifications/querying
Jana
2015/11/30 22:31:06
Modified comment -- see if it's better.
Jana
2015/11/30 22:31:06
Done.
|
+ // versions >= L. |
+ return base::android::BuildInfo::GetInstance()->sdk_int() >= |
+ base::android::SDK_VERSION_LOLLIPOP; |
+} |
+ |
void NetworkChangeNotifierAndroid::GetCurrentConnectedNetworks( |
NetworkChangeNotifier::NetworkList* networks) const { |
delegate_->GetCurrentlyConnectedNetworks(networks); |