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

am: 2a126b05a2

Change-Id: I07e998923f88b3dd6b3c53ed74b0ed7deb14c08c
This commit is contained in:
Gopal Krishna Shukla
2018-07-23 12:34:53 -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;
}
}
}
}