Merge "Ensure that binding state is false when handling dead binder"
This commit is contained in:
committed by
Android (Google) Code Review
commit
0f861baff3
@@ -225,6 +225,7 @@ public abstract class AbstractRemoteService<S extends AbstractRemoteService<S, I
|
||||
if (mService != null) {
|
||||
mService.asBinder().unlinkToDeath(this, 0);
|
||||
}
|
||||
mBinding = false;
|
||||
mService = null;
|
||||
mServiceDied = true;
|
||||
cancelScheduledUnbind();
|
||||
|
||||
Reference in New Issue
Block a user