From 7ea33eac4b57aabf9326d60f52e3ed85217ac846 Mon Sep 17 00:00:00 2001 From: Irfan Sheriff Date: Fri, 19 Apr 2013 08:39:53 -0700 Subject: Fix API name Address council feedback Bug: 8656932 Change-Id: I92972fc3672afbc38cdeee628c04b639053f7cf3 --- wifi/java/android/net/wifi/IWifiManager.aidl | 2 +- wifi/java/android/net/wifi/WifiManager.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'wifi') 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; } -- cgit v1.1