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

Commit a0653208 authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by android-build-merger
Browse files

Merge "Add a log if the printing activity died unexpectly." into nyc-dev

am: e74b657e

* commit 'e74b657e':
  Add a log if the printing activity died unexpectly.

Change-Id: Ief7a90977234fe13de39d7c3a14d56504dd9f1e2
parents ce3d4b9c e74b657e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -320,6 +320,8 @@ public class PrintActivity extends Activity implements RemotePrintDocument.Updat
                mFileProvider, new RemotePrintDocument.RemoteAdapterDeathObserver() {
            @Override
            public void onDied() {
                Log.w(LOG_TAG, "Printing app died unexpectedly");

                // If we are finishing or we are in a state that we do not need any
                // data from the printing app, then no need to finish.
                if (isFinishing() || (isFinalState(mState) && !mPrintedDocument.isUpdating())) {