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

@@ -50,7 +50,7 @@ import org.robolectric.shadows.ShadowPackageManager;
public class ControlsPrivacyPreferenceControllerTest {
private static final String TEST_KEY = "test_key";
private static final String SETTING_KEY = "lockscreen_show_controls";
private static final String SETTING_KEY = Settings.Secure.LOCKSCREEN_SHOW_CONTROLS;
private Context mContext;
private ContentResolver mContentResolver;