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

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

Merge "Simplify binderDied() method"

parents 61562c14 9f6284e8
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -147,12 +147,9 @@ public class ContextHubClientBroker extends IContextHubClient.Stub
    /**
     * Invoked when the underlying binder of this broker has died at the client process.
     */
    @Override
    public void binderDied() {
        try {
            IContextHubClient.Stub.asInterface(this).close();
        } catch (RemoteException e) {
            Log.e(TAG, "RemoteException while closing client on death", e);
        }
        close();
    }

    /**