diff options
author | Dianne Hackborn <hackbod@google.com> | 2013-01-24 19:13:44 -0800 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2013-01-25 11:25:48 -0800 |
commit | 5e45ee6752528791deb66b83d76250685de15d47 (patch) | |
tree | d60220c4aa9feae8b5b3a45946b88f46865ab5ff /wifi | |
parent | d8ba6cc9217e2e042106870e9d2e70cfd80426d6 (diff) | |
download | frameworks_base-5e45ee6752528791deb66b83d76250685de15d47.zip frameworks_base-5e45ee6752528791deb66b83d76250685de15d47.tar.gz frameworks_base-5e45ee6752528791deb66b83d76250685de15d47.tar.bz2 |
App ops: you can now turn off operations.
Also add new ops for calendar and wi-fi scans, finish
implementing rejection of content provider calls, fix
issues with rejecting location calls, fix bug in the
new pm call to retrieve apps with permissions.
Change-Id: I29d9f8600bfbbf6561abf6d491907e2bbf6af417
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 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/wifi/java/android/net/wifi/IWifiManager.aidl b/wifi/java/android/net/wifi/IWifiManager.aidl index 55de065..0be453c 100644 --- a/wifi/java/android/net/wifi/IWifiManager.aidl +++ b/wifi/java/android/net/wifi/IWifiManager.aidl @@ -45,7 +45,7 @@ interface IWifiManager void startScan(boolean forceActive); - List<ScanResult> getScanResults(); + List<ScanResult> getScanResults(String callingPackage); void disconnect(); diff --git a/wifi/java/android/net/wifi/WifiManager.java b/wifi/java/android/net/wifi/WifiManager.java index 4861759..c08db07 100644 --- a/wifi/java/android/net/wifi/WifiManager.java +++ b/wifi/java/android/net/wifi/WifiManager.java @@ -777,7 +777,7 @@ public class WifiManager { */ public List<ScanResult> getScanResults() { try { - return mService.getScanResults(); + return mService.getScanResults(mContext.getBasePackageName()); } catch (RemoteException e) { return null; } |