OSDN Git Service

Give CTS the handle it expects to remove PIN.
authorJeff Sharkey <jsharkey@android.com>
Tue, 4 Oct 2016 19:43:35 +0000 (13:43 -0600)
committerJeff Sharkey <jsharkey@android.com>
Tue, 4 Oct 2016 19:45:38 +0000 (13:45 -0600)
commit159dff63a5e8e1286f0d42d400b64d43fb104649
tree0cf7c41e8ca6e468526276a95192a6142ae1ea6b
parent9574fb805a53c12808559682fce86e4a57c60f8b
Give CTS the handle it expects to remove PIN.

When the Direct Boot tests go to remove the PIN set in previous
tests, it needs to find the option that will remove the PIN.  Recent
changes for fingerprint caused this "none" option to be hidden, so
assign the "none" ID to the "skip" option.

Test: cts-tradefed run cts-dev --module CtsAppSecurityHostTestCases --test android.appsecurity.cts.DirectBootHostTest
Bug: 31160946
Change-Id: I0b34cbfae45d1db8ee58a5ef66738414f5e2fc27
src/com/android/settings/ChooseLockGeneric.java