Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a37c2522 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Avoid onServiceDisconnected() for unbind Service"

parents 6a5c1492 9117037d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -705,11 +705,13 @@ final class RemotePrintSpooler {
        @Override
        public void onServiceDisconnected(ComponentName name) {
            synchronized (mLock) {
                if (mRemoteInstance != null) {
                    clearClientLocked();
                    mRemoteInstance = null;
                }
            }
        }
    }

    private static final class GetPrintJobInfosCaller
            extends TimedRemoteCaller<List<PrintJobInfo>> {