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

am: c38e0f19c1

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