Mark UI components for tests to find.
Bug: 26498834 Change-Id: Id8ade0b9230a946c7facf8ebaf9700c196b31ee3
This commit is contained in:
@@ -350,6 +350,11 @@ public class ChooseLockGeneric extends SettingsActivity {
|
||||
|
||||
protected void addPreferences() {
|
||||
addPreferencesFromResource(R.xml.security_settings_picker);
|
||||
|
||||
// Used for testing purposes
|
||||
findPreference(KEY_UNLOCK_SET_NONE).setViewId(R.id.lock_none);
|
||||
findPreference(KEY_UNLOCK_SET_PIN).setViewId(R.id.lock_pin);
|
||||
findPreference(KEY_UNLOCK_SET_PASSWORD).setViewId(R.id.lock_password);
|
||||
}
|
||||
|
||||
private void updatePreferenceText() {
|
||||
|
Reference in New Issue
Block a user