Obsolete a couple of auto-join related APIs.

Remove the get/setHalBasedAutojoinOffset() APIs. HAL based PNO
is now enabled on all supported devices.

Bug: 26666366
Change-Id: I55b3a80a5807c33569dbbdf4dcfc2411af067567
This commit is contained in:
Randy Pan
2016-03-11 12:23:30 -08:00
parent 9d5aadd5f2
commit 467400a23b
2 changed files with 0 additions and 28 deletions

View File

@@ -149,9 +149,6 @@ interface IWifiManager
void setAllowScansWithTraffic(int enabled);
int getAllowScansWithTraffic();
void setHalBasedAutojoinOffload(int enabled);
int getHalBasedAutojoinOffload();
boolean enableAutoJoinWhenAssociated(boolean enabled);
boolean getEnableAutoJoinWhenAssociated();

View File

@@ -28,7 +28,6 @@ import android.net.NetworkRequest;
import android.os.Binder;
import android.os.Build;
import android.os.Handler;
import android.os.HandlerThread;
import android.os.IBinder;
import android.os.Looper;
import android.os.Message;
@@ -43,7 +42,6 @@ import com.android.internal.util.Protocol;
import com.android.server.net.NetworkPinner;
import java.net.InetAddress;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CountDownLatch;
@@ -2721,27 +2719,4 @@ public class WifiManager {
throw e.rethrowFromSystemServer();
}
}
/**
* Set setting for enabling autojoin Offload thru Wifi HAL layer
* @hide
*/
public void setHalBasedAutojoinOffload(int enabled) {
try {
mService.setHalBasedAutojoinOffload(enabled);
} catch (RemoteException e) {
throw e.rethrowFromSystemServer();
}
}
/**
* Get setting for enabling autojoin Offload thru Wifi HAL layer
* @hide
*/
public int getHalBasedAutojoinOffload() {
try {
return mService.getHalBasedAutojoinOffload();
} catch (RemoteException e) {
throw e.rethrowFromSystemServer();
}
}
}