Merge "Avoid onServiceDisconnected() for unbind Service" am: a37c252248
am: c38e0f19c1
Change-Id: I7d4f4929057490948ebbcb956eb3e2ba4aca6e3a
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