Remove unwanted hidden APIs
Bug: 69424325 Test: compile, run ./frameworks/base/wifi/tests/runtests.sh Change-Id: If5e0c695655bd75f5aea16a339696fcebd9c5601
This commit is contained in:
@@ -163,12 +163,6 @@ interface IWifiManager
|
||||
void enableAggressiveHandover(int enabled);
|
||||
int getAggressiveHandover();
|
||||
|
||||
void setAllowScansWithTraffic(int enabled);
|
||||
int getAllowScansWithTraffic();
|
||||
|
||||
boolean setEnableAutoJoinWhenAssociated(boolean enabled);
|
||||
boolean getEnableAutoJoinWhenAssociated();
|
||||
|
||||
void enableWifiConnectivityManager(boolean enabled);
|
||||
|
||||
WifiConnectionStatistics getConnectionStatistics();
|
||||
|
||||
@@ -3486,27 +3486,23 @@ public class WifiManager {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set setting for allowing Scans when traffic is ongoing.
|
||||
* Deprecated
|
||||
* Does nothing
|
||||
* @hide
|
||||
* @deprecated
|
||||
*/
|
||||
public void setAllowScansWithTraffic(int enabled) {
|
||||
try {
|
||||
mService.setAllowScansWithTraffic(enabled);
|
||||
} catch (RemoteException e) {
|
||||
throw e.rethrowFromSystemServer();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get setting for allowing Scans when traffic is ongoing.
|
||||
* Deprecated
|
||||
* returns value for 'disabled'
|
||||
* @hide
|
||||
* @deprecated
|
||||
*/
|
||||
public int getAllowScansWithTraffic() {
|
||||
try {
|
||||
return mService.getAllowScansWithTraffic();
|
||||
} catch (RemoteException e) {
|
||||
throw e.rethrowFromSystemServer();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -3536,29 +3532,23 @@ public class WifiManager {
|
||||
}
|
||||
|
||||
/**
|
||||
* Framework layer autojoin enable/disable when device is associated
|
||||
* this will enable/disable autojoin scan and switch network when connected
|
||||
* @return true -- if set successful false -- if set failed
|
||||
* Deprecated
|
||||
* returns false
|
||||
* @hide
|
||||
* @deprecated
|
||||
*/
|
||||
public boolean setEnableAutoJoinWhenAssociated(boolean enabled) {
|
||||
try {
|
||||
return mService.setEnableAutoJoinWhenAssociated(enabled);
|
||||
} catch (RemoteException e) {
|
||||
throw e.rethrowFromSystemServer();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get setting for Framework layer autojoin enable status
|
||||
* Deprecated
|
||||
* returns false
|
||||
* @hide
|
||||
* @deprecated
|
||||
*/
|
||||
public boolean getEnableAutoJoinWhenAssociated() {
|
||||
try {
|
||||
return mService.getEnableAutoJoinWhenAssociated();
|
||||
} catch (RemoteException e) {
|
||||
throw e.rethrowFromSystemServer();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user