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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user