OSDN Git Service

Added setting to disable screen lock
authorkwok.wong@live.nl <kwok.wong@live.nl>
Wed, 24 Nov 2010 09:28:14 +0000 (10:28 +0100)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 26 Nov 2010 06:36:07 +0000 (14:36 +0800)
api/current.xml
core/java/android/provider/Settings.java

index bfb4071..8597bb5 100644 (file)
  visibility="public"
 >
 </field>
+<field name="LOCK_PATTERN_DISABLE"
+ type="java.lang.String"
+ transient="false"
+ volatile="false"
+ value="&quot;lock_pattern_disable_pattern&quot;"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
 <field name="LOCK_PATTERN_ENABLED"
  type="java.lang.String"
  transient="false"
index e60477e..1865d5e 100644 (file)
@@ -1187,6 +1187,11 @@ public final class Settings {
             "bluetooth_discoverability_timeout";
 
         /**
+         * Whether lock pattern is disable as user enters (0 = false, 1 = true)
+         */
+        public static final String LOCK_PATTERN_DISABLE = "lock_pattern_disable_pattern";
+
+        /**
          * @deprecated Use {@link android.provider.Settings.Secure#LOCK_PATTERN_ENABLED}
          * instead
          */