diff options
| author | Matt Pietal <mpietal@google.com> | 2021-05-14 13:00:01 -0400 |
|---|---|---|
| committer | Matt Pietal <mpietal@google.com> | 2021-05-18 10:14:32 -0400 |
| commit | abc6e0c51bdb356e1d6ab2abc77be6ec3672d490 (patch) | |
| tree | a2a175fb893f72ea9c5fee0f2aeef60f106cffda /core/java/android | |
| parent | 77f3b08b09a39f78e3d3adec9a1137a005c06b3d (diff) | |
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
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/provider/Settings.java | 14 |
1 files changed, 14 insertions, 0 deletions
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 @@ -9515,6 +9515,20 @@ public final class Settings { "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. * * @hide |
