Loading core/java/android/provider/Settings.java +12 −0 Original line number Diff line number Diff line Loading @@ -2923,6 +2923,18 @@ public final class Settings { */ public static final String LOCK_CUSTOM_MSG = "lock_screen_custom_msg"; /** * LOCK_CUSTOM_MSG_COLOR * @hide */ public static final String CUSTOM_MSG_COLOR = "lock_screen_custom_msg_color"; /** * LOCK_CUSTOM_MSG_COLOR * @hide */ public static final String CUSTOM_MSG_COLOR = "lock_screen_custom_msg_color"; /** * Whether assisted GPS should be enabled or not. * @hide Loading core/java/com/android/internal/widget/LockPatternUtils.java +25 −17 Original line number Diff line number Diff line Loading @@ -605,6 +605,14 @@ public class LockPatternUtils { return getString(Settings.Secure.LOCK_CUSTOM_MSG); } public void setCustomMsgColor(int color) { setInt(Settings.Secure.CUSTOM_MSG_COLOR, color); } public int getCustomMsgColor() { return getInt(Settings.Secure.CUSTOM_MSG_COLOR, -1); } public int getIncorrectDelay() { return getInt(Settings.Secure.LOCK_INCORRECT_DELAY, 2000); } Loading Loading
core/java/android/provider/Settings.java +12 −0 Original line number Diff line number Diff line Loading @@ -2923,6 +2923,18 @@ public final class Settings { */ public static final String LOCK_CUSTOM_MSG = "lock_screen_custom_msg"; /** * LOCK_CUSTOM_MSG_COLOR * @hide */ public static final String CUSTOM_MSG_COLOR = "lock_screen_custom_msg_color"; /** * LOCK_CUSTOM_MSG_COLOR * @hide */ public static final String CUSTOM_MSG_COLOR = "lock_screen_custom_msg_color"; /** * Whether assisted GPS should be enabled or not. * @hide Loading
core/java/com/android/internal/widget/LockPatternUtils.java +25 −17 Original line number Diff line number Diff line Loading @@ -605,6 +605,14 @@ public class LockPatternUtils { return getString(Settings.Secure.LOCK_CUSTOM_MSG); } public void setCustomMsgColor(int color) { setInt(Settings.Secure.CUSTOM_MSG_COLOR, color); } public int getCustomMsgColor() { return getInt(Settings.Secure.CUSTOM_MSG_COLOR, -1); } public int getIncorrectDelay() { return getInt(Settings.Secure.LOCK_INCORRECT_DELAY, 2000); } Loading