Merge "[DO NOT MERGE] Move AuthSession usage to after null check" into rvc-dev
This commit is contained in:
@@ -1630,15 +1630,15 @@ public class BiometricService extends SystemService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void handleOnSystemEvent(int event) {
|
private void handleOnSystemEvent(int event) {
|
||||||
final boolean shouldReceive = mCurrentAuthSession.mBundle
|
|
||||||
.getBoolean(BiometricPrompt.KEY_RECEIVE_SYSTEM_EVENTS, false);
|
|
||||||
Slog.d(TAG, "onSystemEvent: " + event + ", shouldReceive: " + shouldReceive);
|
|
||||||
|
|
||||||
if (mCurrentAuthSession == null) {
|
if (mCurrentAuthSession == null) {
|
||||||
Slog.e(TAG, "Auth session null");
|
Slog.e(TAG, "Auth session null");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
final boolean shouldReceive = mCurrentAuthSession.mBundle
|
||||||
|
.getBoolean(BiometricPrompt.KEY_RECEIVE_SYSTEM_EVENTS, false);
|
||||||
|
Slog.d(TAG, "onSystemEvent: " + event + ", shouldReceive: " + shouldReceive);
|
||||||
|
|
||||||
if (!shouldReceive) {
|
if (!shouldReceive) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user