Merge "Avoid onServiceDisconnected() for unbind Service"
am: a37c252248
Change-Id: I825afa6ce1a341f37687fb453a1eeda1ad19ae86
This commit is contained in:
@@ -708,8 +708,10 @@ final class RemotePrintSpooler {
|
||||
@Override
|
||||
public void onServiceDisconnected(ComponentName name) {
|
||||
synchronized (mLock) {
|
||||
clearClientLocked();
|
||||
mRemoteInstance = null;
|
||||
if (mRemoteInstance != null) {
|
||||
clearClientLocked();
|
||||
mRemoteInstance = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user