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

Commit 8e3967e1 authored by Kevin Chyn's avatar Kevin Chyn Committed by Android (Google) Code Review
Browse files

Merge "Adhere to HIDL contract on cancel() method"

parents 2c507ea1 1417f1f0
Loading
Loading
Loading
Loading
+1 −5
Original line number Original line Diff line number Diff line
@@ -209,11 +209,7 @@ public abstract class ClientMonitor extends LoggableMonitor implements IBinder.D
    public void binderDied() {
    public void binderDied() {
        // If the current client dies we should cancel the current operation.
        // If the current client dies we should cancel the current operation.
        Slog.e(getLogTag(), "Binder died, cancelling client");
        Slog.e(getLogTag(), "Binder died, cancelling client");
        try {
        stop(false /* initiatedByClient */);
            getDaemonWrapper().cancel();
        } catch (RemoteException e) {
            Slog.e(getLogTag(), "Remote exception", e);
        }
        mToken = null;
        mToken = null;
        mListener = null;
        mListener = null;
    }
    }