From 02648a4b8422733ed401f07edf8e426318bb2f8d Mon Sep 17 00:00:00 2001 From: Robert Greenwalt Date: Tue, 18 May 2010 10:52:51 -0700 Subject: Clean up APN notifications. Add APNType info to notifications so you can tell what's happening. Now, even if a new APN shares a connection with an already-connected-to- apn type, the new type will get all the connecting and connected messages on connect and disconnecting/disconnected on disconnect even though the shared connection remains connected. Cleaning out the hacks MobileDataStateTracker needed to deal with the old situation. bug:2226092 Change-Id: Iddd7421d6b91cda7c8405f9c3d5404ac04ef8e42 --- wifi/java/android/net/wifi/WifiStateTracker.java | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'wifi') diff --git a/wifi/java/android/net/wifi/WifiStateTracker.java b/wifi/java/android/net/wifi/WifiStateTracker.java index 2c8be31..364cc16 100644 --- a/wifi/java/android/net/wifi/WifiStateTracker.java +++ b/wifi/java/android/net/wifi/WifiStateTracker.java @@ -2051,26 +2051,6 @@ public class WifiStateTracker extends NetworkStateTracker { return mWM.setWifiEnabled(turnOn); } - /** - * {@inheritDoc} - * There are currently no Wi-Fi-specific features supported. - * @param feature the name of the feature - * @return {@code -1} indicating failure, always - */ - public int startUsingNetworkFeature(String feature, int callingPid, int callingUid) { - return -1; - } - - /** - * {@inheritDoc} - * There are currently no Wi-Fi-specific features supported. - * @param feature the name of the feature - * @return {@code -1} indicating failure, always - */ - public int stopUsingNetworkFeature(String feature, int callingPid, int callingUid) { - return -1; - } - @Override public void interpretScanResultsAvailable() { -- cgit v1.1