bd376296cd5b5a41c421b4d831036957915336ce |
|
04-May-2018 |
Matthew Fritze <mfritze@google.com> |
Establish permanently unavailable settings Distinguish between settings which are permanently unavailable on the device, and temporarily unavailable. This enables us to restrict which setting slices are exposed in onSliceGetDescendants. The primary changes in this CL are renaming: "DISABLED_UNSUPPORTED" -> "UNSUPPORTED_ON_DEVICE" to be more clear the the setting will cannot be accessed on the device, and, adding a new enum to encapsulate settings which are currently unavailable, but could be enabled in the future. Also remove UNAVAILABLE_UNKNOWN. Devs should never need this enum. Bug: 78910582 Fixes: 79245656 Test: robotests Change-Id: I42c2cedab66be2d76999795f46470a079cc1ec71 Merged-In: I58821a6cfd6134b3b351657b6edf5f74ead00643
/packages/apps/Settings/src/com/android/settings/security/trustagent/ManageTrustAgentsPreferenceController.java
|
579fd5eb5e45c5193a2a331e2b9d114db2e6884e |
|
06-Feb-2018 |
Doris Ling <dling@google.com> |
Fix trust agent summary not being updated. - move the handling for enabling the trust agent preference and its summary from displayPreference() into updateState(), so that when user navigates to change screen lock or update trust agent and returns to the security settings page, the trust agent preference enabled state and summary will be refreshed correctly. Change-Id: I60bccfdff755a046a9f5453d39a7ac9d3ce0277c Fixes: 72420147 Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/security/trustagent/ManageTrustAgentsPreferenceController.java
|
dd1e1e1d996a5af267d325edc635c882d1cac02b |
|
17-Jan-2018 |
Ben Lin <linben@google.com> |
Introduce boolean flags to show/hide items in Security & location. This adds 6 new boolean flags: config_show_manage_device_admin config_show_unlock_set_or_change config_show_screen_pinning_settings config_show_manage_trust_agents config_show_show_password config_show_trust_agent_click_intent Which when individually set to false, will hide the item from "Security & location". It will also hide them from surfacing in search results. Bug:62379222 Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.security Change-Id: I58d82cbc7f366a9666cdb0f7cd1b90ebbaf418f4
/packages/apps/Settings/src/com/android/settings/security/trustagent/ManageTrustAgentsPreferenceController.java
|
0b47bb4bf3fd1b82a3b3916528c28582782651f8 |
|
02-Jan-2018 |
Fan Zhang <zhfan@google.com> |
Convert some security setting logic to PreferenceController - Manage trust agent - Show password - Sim lock - Screen pinning Bug: 32953042 Test: robotests Change-Id: I0c781a505238cae7a6643b701b750ca63a87a8a5
/packages/apps/Settings/src/com/android/settings/security/trustagent/ManageTrustAgentsPreferenceController.java
|