Merge "Simplify binderDied() method"
This commit is contained in:
committed by
Android (Google) Code Review
commit
ffed53bb7d
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user