OSDN Git Service

Move trust agent toggles to developer options
authorVishwath Mohan <vishwath@google.com>
Sat, 2 Feb 2019 19:18:30 +0000 (11:18 -0800)
committerVishwath Mohan <vishwath@google.com>
Tue, 5 Feb 2019 01:22:49 +0000 (17:22 -0800)
commit8f53ad0f3785cd7bfda0ad2bed84351f21f93301
tree39b4218ac3bd4859b6eea4cf7e1bea12d2addc48
parent8e268830f2f3e76ba9ab44f5a4c5868e7e9d5129
Move trust agent toggles to developer options

This CL moves two toggles for trust agent extend unlock mode from
Security > Settings to Developer Options instead. It also updates some
of the configuration strings to reflect that this toggles behavior for
trust agents in general.

No new logic is being added here, this simply moves options intended
only for internal dogfooding to a more appropriate location in
preparation for the public Beta.

Bug: 111435975
Bug: 120871688
Test: Manually verified that the settings show up in Developer Options
and work as intended.

Change-Id: I2b6705d50fa783089a5c0dfabf76677af44209f7
res/values/strings.xml
res/xml/development_settings.xml
res/xml/screen_lock_settings.xml
src/com/android/settings/development/DevelopmentSettingsDashboardFragment.java
src/com/android/settings/development/TrustAgentsExtendUnlockPreferenceController.java [new file with mode: 0644]
src/com/android/settings/development/TrustLostLocksScreenPreferenceController.java [new file with mode: 0644]
src/com/android/settings/security/trustagent/TrustAgentsExtendUnlockPreferenceController.java [deleted file]
src/com/android/settings/security/trustagent/TrustLostLocksScreenPreferenceController.java [deleted file]