summaryrefslogtreecommitdiffstats
path: root/services/java
diff options
context:
space:
mode:
Diffstat (limited to 'services/java')
-rw-r--r--services/java/com/android/server/wifi/WifiService.java14
1 files changed, 2 insertions, 12 deletions
diff --git a/services/java/com/android/server/wifi/WifiService.java b/services/java/com/android/server/wifi/WifiService.java
index bc6bdaf..c46f217 100644
--- a/services/java/com/android/server/wifi/WifiService.java
+++ b/services/java/com/android/server/wifi/WifiService.java
@@ -482,20 +482,10 @@ public final class WifiService extends IWifiManager.Stub {
* started or is already in the queue.
*/
public boolean isScanningAlwaysAvailable() {
- // TODO: implement
- return true;
- }
-
- /**
- * @param enable {@code true} to enable, {@code false} to disable.
- * @return {@code true} if the enable/disable operation was
- * started or is already in the queue.
- */
- public void setScanningAlwaysAvailable(boolean enable) {
- // TODO: implement
+ enforceAccessPermission();
+ return mSettingsStore.isScanAlwaysAvailable();
}
-
/**
* see {@link android.net.wifi.WifiManager#disconnect()}
*/