[Fingerprint] Show skip button during SUW
Show a skip button during enrolling in case the user entered the flow accidentally. The skip button will send the result code RESULT_SKIP, which is equal to RESULT_FIRST_USER + 1, back to the starting activity. Bug: 22666389 Change-Id: I230b04e5150214c31536ac282d56b7b490c85ac1
This commit is contained in:
@@ -48,6 +48,12 @@ public class FingerprintEnrollBase extends Activity implements View.OnClickListe
|
||||
*/
|
||||
protected static final int RESULT_FINISHED = RESULT_FIRST_USER;
|
||||
|
||||
/**
|
||||
* Used by the enrolling screen during setup wizard to skip over setting up fingerprint, which
|
||||
* will be useful if the user accidentally entered this flow.
|
||||
*/
|
||||
protected static final int RESULT_SKIP = RESULT_FIRST_USER + 1;
|
||||
|
||||
protected byte[] mToken;
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user