diff options
author | Navtej Singh Mann <navtejsingh@google.com> | 2014-04-09 18:06:37 -0700 |
---|---|---|
committer | Vinit Deshpande <vinitd@google.com> | 2014-05-18 09:41:34 -0700 |
commit | 94f77dbb025f0182f2fe816b2a00ffa1cd2becfc (patch) | |
tree | 400e393d306286a44504b1e3def436bf76d92b97 /wifi | |
parent | 337a63aea7e6483a119ba876d72629acc17a9a1b (diff) | |
download | frameworks_base-94f77dbb025f0182f2fe816b2a00ffa1cd2becfc.zip frameworks_base-94f77dbb025f0182f2fe816b2a00ffa1cd2becfc.tar.gz frameworks_base-94f77dbb025f0182f2fe816b2a00ffa1cd2becfc.tar.bz2 |
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
Diffstat (limited to 'wifi')
-rw-r--r-- | wifi/java/android/net/wifi/IWifiManager.aidl | 2 | ||||
-rw-r--r-- | wifi/java/android/net/wifi/WifiManager.java | 12 |
2 files changed, 0 insertions, 14 deletions
diff --git a/wifi/java/android/net/wifi/IWifiManager.aidl b/wifi/java/android/net/wifi/IWifiManager.aidl index 0535fe0..9ccd810 100644 --- a/wifi/java/android/net/wifi/IWifiManager.aidl +++ b/wifi/java/android/net/wifi/IWifiManager.aidl @@ -111,8 +111,6 @@ interface IWifiManager Messenger getWifiServiceMessenger(); - Messenger getWifiStateMachineMessenger(); - String getConfigFile(); void enableTdls(String remoteIPAddress, boolean enable); diff --git a/wifi/java/android/net/wifi/WifiManager.java b/wifi/java/android/net/wifi/WifiManager.java index 15b65c1..9558d50 100644 --- a/wifi/java/android/net/wifi/WifiManager.java +++ b/wifi/java/android/net/wifi/WifiManager.java @@ -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 |