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

Commit 2a126b05 authored by Gopal Krishna Shukla's avatar Gopal Krishna Shukla Committed by android-build-merger
Browse files

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

am: c38e0f19

Change-Id: I7d4f4929057490948ebbcb956eb3e2ba4aca6e3a
parents 8873784d c38e0f19
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -708,11 +708,13 @@ final class RemotePrintSpooler {
        @Override
        @Override
        public void onServiceDisconnected(ComponentName name) {
        public void onServiceDisconnected(ComponentName name) {
            synchronized (mLock) {
            synchronized (mLock) {
                if (mRemoteInstance != null) {
                    clearClientLocked();
                    clearClientLocked();
                    mRemoteInstance = null;
                    mRemoteInstance = null;
                }
                }
            }
            }
        }
        }
    }


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