summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorIrfan Sheriff <isheriff@google.com>2013-03-21 12:06:27 -0700
committerIrfan Sheriff <isheriff@google.com>2013-03-21 12:27:20 -0700
commit7b7beb7952440ee2e255694b7b19e60abae93dc0 (patch)
tree9583b84ed81d5930ed67393b90b259a2c99145fe /core/java
parent71b0017759b825f8bddcdda7425afc802e8918c9 (diff)
Notify user when wi-fi is toggled about scans
We let the user know when he turns off Wi-Fi that scans will continue to be available. User has the option to turn off the dialog and not receive this in the future. Bug: 8141918 Change-Id: I115ce2ac57125b8ffbb34245dc25effd4b3bebb0
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/provider/Settings.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index d251ca25e068..8346cc169919 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -4791,6 +4791,14 @@ public final class Settings {
"wifi_scan_always_enabled";
/**
+ * Setting to indicate whether the user should be notified that scans are still
+ * available when Wi-Fi is turned off
+ * @hide
+ */
+ public static final String WIFI_NOTIFY_SCAN_ALWAYS_AVAILABLE =
+ "wifi_notify_scan_always_enabled";
+
+ /**
* Used to save the Wifi_ON state prior to tethering.
* This state will be checked to restore Wifi after
* the user turns off tethering.