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

Commit 48239434 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE in FaceDetectClient" into sc-dev

parents f92b5c49 205da0e2
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -59,6 +59,7 @@ public class FaceDetectClient extends AcquisitionClient<ISession> implements Det

    @Override
    protected void stopHalOperation() {
        if (mCancellationSignal != null) {
            try {
                mCancellationSignal.cancel();
            } catch (RemoteException e) {
@@ -66,6 +67,7 @@ public class FaceDetectClient extends AcquisitionClient<ISession> implements Det
                mCallback.onClientFinished(this, false /* success */);
            }
        }
    }

    @Override
    protected void startHalOperation() {