Merge "Avoid onServiceDisconnected() for unbind Service" am: a37c252248 am: c38e0f19c1 am: 2a126b05a2

am: 4775d87ca7

Change-Id: Ibdff3b0f1f0f5a631161ca11794e8e1fbc2f2d59
This commit is contained in:
Gopal Krishna Shukla
2018-07-23 14:00:31 -07:00
committed by android-build-merger

View File

@@ -708,8 +708,10 @@ final class RemotePrintSpooler {
@Override
public void onServiceDisconnected(ComponentName name) {
synchronized (mLock) {
clearClientLocked();
mRemoteInstance = null;
if (mRemoteInstance != null) {
clearClientLocked();
mRemoteInstance = null;
}
}
}
}