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

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

am 66a12001: am f9c93ba2: am eaaf0512: Crash in print spooler when back...

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

* commit '66a12001':
  Crash in print spooler when back pressed before content update complted.
parents baecfda4 66a12001
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);