diff options
author | Irfan Sheriff <isheriff@google.com> | 2013-04-19 08:39:53 -0700 |
---|---|---|
committer | Irfan Sheriff <isheriff@google.com> | 2013-04-19 08:39:53 -0700 |
commit | 7ea33eac4b57aabf9326d60f52e3ed85217ac846 (patch) | |
tree | 1f2a66ee05e16fc4334aca5dd4f45b1a1d3209b7 /wifi | |
parent | b8df5451f416db17dc4c7d5a7e106a861b11ac0a (diff) | |
download | frameworks_base-7ea33eac4b57aabf9326d60f52e3ed85217ac846.zip frameworks_base-7ea33eac4b57aabf9326d60f52e3ed85217ac846.tar.gz frameworks_base-7ea33eac4b57aabf9326d60f52e3ed85217ac846.tar.bz2 |
Fix API name
Address council feedback
Bug: 8656932
Change-Id: I92972fc3672afbc38cdeee628c04b639053f7cf3
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 | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/wifi/java/android/net/wifi/IWifiManager.aidl b/wifi/java/android/net/wifi/IWifiManager.aidl index f093b52..547ae95 100644 --- a/wifi/java/android/net/wifi/IWifiManager.aidl +++ b/wifi/java/android/net/wifi/IWifiManager.aidl @@ -71,7 +71,7 @@ interface IWifiManager DhcpInfo getDhcpInfo(); - boolean isScanningAlwaysAvailable(); + boolean isScanAlwaysAvailable(); boolean acquireWifiLock(IBinder lock, int lockType, String tag, in WorkSource ws); diff --git a/wifi/java/android/net/wifi/WifiManager.java b/wifi/java/android/net/wifi/WifiManager.java index 0c0a144..a7a5924 100644 --- a/wifi/java/android/net/wifi/WifiManager.java +++ b/wifi/java/android/net/wifi/WifiManager.java @@ -794,9 +794,9 @@ public class WifiManager { * * To change this setting, see {@link #ACTION_REQUEST_SCAN_ALWAYS_AVAILABLE}. */ - public boolean isScanningAlwaysAvailable() { + public boolean isScanAlwaysAvailable() { try { - return mService.isScanningAlwaysAvailable(); + return mService.isScanAlwaysAvailable(); } catch (RemoteException e) { return false; } |