Controls/Pay - Use new privacy setting

Refer to the now centralized Secure setting, instead of local strings

Bug: 188175341
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.display
Change-Id: I5fff84347c369ae94d6c8359cc49dcbcf9b6ee72
This commit is contained in:
Matt Pietal
2021-05-14 13:09:13 -04:00
parent db6c7211e4
commit edd1918866
4 changed files with 5 additions and 5 deletions

View File

@@ -33,7 +33,7 @@ import com.android.settings.overlay.FeatureFactory;
*/
public class ControlsPrivacyPreferenceController extends TogglePreferenceController {
private static final String SETTING_KEY = "lockscreen_show_controls";
private static final String SETTING_KEY = Settings.Secure.LOCKSCREEN_SHOW_CONTROLS;
public ControlsPrivacyPreferenceController(Context context, String preferenceKey) {
super(context, preferenceKey);