Merge "Avoid onServiceDisconnected() for unbind Service"
This commit is contained in:
@@ -705,8 +705,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