Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit deacea49 authored by Joshua Mccloskey's avatar Joshua Mccloskey Committed by Automerger Merge Worker
Browse files

Fixed NPE in FingerprintAuthClient am: b5997d47

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15820591

Change-Id: I6054f60fbcf4c66a5c8958fb2427d9b55864359d
parents 6e776194 b5997d47
Loading
Loading
Loading
Loading
+11 −7
Original line number Diff line number Diff line
@@ -164,6 +164,7 @@ class FingerprintAuthenticationClient extends AuthenticationClient<ISession> imp
    @Override
    protected void stopHalOperation() {
        UdfpsHelper.hideUdfpsOverlay(getSensorId(), mUdfpsOverlayController);
        if (mCancellationSignal != null) {
            try {
                mCancellationSignal.cancel();
            } catch (RemoteException e) {
@@ -172,6 +173,9 @@ class FingerprintAuthenticationClient extends AuthenticationClient<ISession> imp
                        0 /* vendorCode */);
                mCallback.onClientFinished(this, false /* success */);
            }
        } else {
            Slog.e(TAG, "cancellation signal was null");
        }
    }

    @Override