Merge "Adhere to HIDL contract on cancel() method"
This commit is contained in:
@@ -209,11 +209,7 @@ public abstract class ClientMonitor extends LoggableMonitor implements IBinder.D
|
||||
public void binderDied() {
|
||||
// If the current client dies we should cancel the current operation.
|
||||
Slog.e(getLogTag(), "Binder died, cancelling client");
|
||||
try {
|
||||
getDaemonWrapper().cancel();
|
||||
} catch (RemoteException e) {
|
||||
Slog.e(getLogTag(), "Remote exception", e);
|
||||
}
|
||||
stop(false /* initiatedByClient */);
|
||||
mToken = null;
|
||||
mListener = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user