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

Commit 9f6284e8 authored by Arthur Ishiguro's avatar Arthur Ishiguro
Browse files

Simplify binderDied() method

Equivalent functionality, since we are calling a local method.

Bug: 111365315
Test: Compile only
Change-Id: I7289ab5797e9cbba029dac360668b951fb00b13e
parent 661f502d
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();
    }

    /**