Fixed bypass of ConnectivityInternal permission
Removed public function 'getWifiStateMachineMessenger' of WifiManager to fix bypass of ConnectivityInternal permission by application, which is security concern Bug: 13749822 Change-Id: I3ae73e33b77ee8ae0133ca9dc8cc03c504f09e40
This commit is contained in:
committed by
Vinit Deshpande
parent
337a63aea7
commit
94f77dbb02
@ -111,8 +111,6 @@ interface IWifiManager
|
||||
|
||||
Messenger getWifiServiceMessenger();
|
||||
|
||||
Messenger getWifiStateMachineMessenger();
|
||||
|
||||
String getConfigFile();
|
||||
|
||||
void enableTdls(String remoteIPAddress, boolean enable);
|
||||
|
@ -1783,18 +1783,6 @@ public class WifiManager {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a reference to WifiStateMachine handler.
|
||||
* @return Messenger pointing to the WifiService handler
|
||||
* @hide
|
||||
*/
|
||||
public Messenger getWifiStateMachineMessenger() {
|
||||
try {
|
||||
return mService.getWifiStateMachineMessenger();
|
||||
} catch (RemoteException e) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the file in which IP and proxy configuration data is stored
|
||||
|
Reference in New Issue
Block a user