commit | d0e1239e81f1ee5c1d1d52bd2c2296b71d1a9e96 | [log] [tgz] |
---|---|---|
author | Philip P. Moltmann <moltmann@google.com> | Wed Apr 13 08:54:27 2016 -0700 |
committer | Philip P. Moltmann <moltmann@google.com> | Wed Apr 13 08:57:49 2016 -0700 |
tree | 8ba995674b399e343751c5ac4c4900e082ca7c39 | |
parent | c2e8857a284433ea83006349bcba204bdd1897cc [diff] |
Add a log if the printing activity died unexpectly. Bug: 27861927 Change-Id: I431ba996e113043c224039a62a76ae23e9c7494a
diff --git a/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java b/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java index e7aebdd..c411186 100644 --- a/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java +++ b/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java
@@ -320,6 +320,8 @@ 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())) {