From abc6e0c51bdb356e1d6ab2abc77be6ec3672d490 Mon Sep 17 00:00:00 2001 From: Matt Pietal Date: Fri, 14 May 2021 13:00:01 -0400 Subject: Controls - Use new privacy setting Wallet/controls privacy setting has been moved and split into two. Migrate the old setting if the user had previously used controls. From the QS tile, launch the activity differently when on the lock screen. Fixes: 188175341 Test: atest DeviceControlsTileTest Change-Id: If38ae1c3f0bcc8e0e75146dda09276c13a0604e9 --- core/java/android/provider/Settings.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'core/java/android') diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index b948ce2172ff..0c23ae6b4b29 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -9514,6 +9514,20 @@ public final class Settings { public static final String POWER_MENU_LOCKED_SHOW_CONTENT = "power_menu_locked_show_content"; + /** + * Whether home controls should be accessible from the lockscreen + * + * @hide + */ + public static final String LOCKSCREEN_SHOW_CONTROLS = "lockscreen_show_controls"; + + /** + * Whether wallet should be accessible from the lockscreen + * + * @hide + */ + public static final String LOCKSCREEN_SHOW_WALLET = "lockscreen_show_wallet"; + /** * Specifies whether the web action API is enabled. * -- cgit v1.2.3