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

Commit f9c93ba2 authored by Svet Ganov's avatar Svet Ganov Committed by Android Git Automerger
Browse files

am eaaf0512: Crash in print spooler when back pressed before content update complted.

* commit 'eaaf0512':
  Crash in print spooler when back pressed before content update complted.
parents 364a8fe9 eaaf0512
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -486,7 +486,9 @@ public final class PageContentRepository {
                protected Void doInBackground(Void... params) {
                    synchronized (mLock) {
                        try {
                            if (mRenderer != null) {
                                mRenderer.closeDocument();
                            }
                        } catch (RemoteException re) {
                            /* ignore */
                        }
+4 −0
Original line number Diff line number Diff line
@@ -487,6 +487,10 @@ public class PrintActivity extends Activity implements RemotePrintDocument.Updat
                requestCreatePdfFileOrFinish();
            } break;

            case STATE_PRINT_CANCELED: {
                updateOptionsUi();
            } break;

            default: {
                updatePrintPreviewController(document.changed);