Go to STATE_AUTH_STARTED_UI_SHOWING if UI was already showing
This can happen if the retry button was pressed Bug: 179955752 Test: atest CtsBiometricsTestCases Test: atest com.android.server.biometrics Change-Id: Id632da3c13c81f8eee905cf0f00e7cb8cfaabaf3
This commit is contained in:
@@ -257,11 +257,15 @@ public final class AuthSession implements IBinder.DeathRecipient {
|
||||
mUserId,
|
||||
mOpPackageName,
|
||||
mOperationId);
|
||||
mState = STATE_AUTH_STARTED;
|
||||
} catch (RemoteException e) {
|
||||
Slog.e(TAG, "Remote exception", e);
|
||||
}
|
||||
} else {
|
||||
// The UI was already showing :)
|
||||
mState = STATE_AUTH_STARTED_UI_SHOWING;
|
||||
}
|
||||
mState = STATE_AUTH_STARTED;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user