OSDN Git Service

DO NOT MERGE Disable changing lock when device is not provisioned.
authorDoris Ling <dling@google.com>
Thu, 2 Aug 2018 00:24:34 +0000 (17:24 -0700)
committerDoris Ling <dling@google.com>
Fri, 3 Aug 2018 19:55:42 +0000 (12:55 -0700)
commitcb68db7d4f798a659dccf010c16ff34eba3adb7f
tree13e86d4b0b852be76bc389a0897ce9b16279841b
parent0e1393ae8cac712bb56b51061a18885dae074038
DO NOT MERGE Disable changing lock when device is not provisioned.

When the device is not yet provisioned and settings is launched:
- disable the entry point for changing device lock
- set display search menu to false
- disallow update to display the search menu

Bug: 110034419
Test: make RunSettingsRoboTests
Change-Id: Ieb7eb0e8699229ec0824ccc19d7b958ac44965a2
Merged-In: Ieb7eb0e8699229ec0824ccc19d7b958ac44965a2
src/com/android/settings/ChooseLockGeneric.java
src/com/android/settings/SettingsActivity.java
src/com/android/settings/SetupChooseLockGeneric.java
tests/robotests/src/com/android/settings/ChooseLockGenericTest.java [new file with mode: 0644]
tests/robotests/src/com/android/settings/SettingsActivityTest.java