diff options
author | Svetoslav <svetoslavganov@google.com> | 2014-09-03 21:15:55 -0700 |
---|---|---|
committer | Svetoslav <svetoslavganov@google.com> | 2014-09-05 15:21:50 -0700 |
commit | 6552bf3da60159607d9266eb295ee3c448f6c3de (patch) | |
tree | b72b38e8786a62158a29ca50d9d6f5c28bb65598 /core/java/android/print/PrintManager.java | |
parent | 522f671eb0c939a6f0c3afb79760843ee36a76b7 (diff) | |
download | frameworks_base-6552bf3da60159607d9266eb295ee3c448f6c3de.zip frameworks_base-6552bf3da60159607d9266eb295ee3c448f6c3de.tar.gz frameworks_base-6552bf3da60159607d9266eb295ee3c448f6c3de.tar.bz2 |
Print spooler UI polish and bug fixes.
1. Added an empty state for pages that are being rendered.
2. Fixed a NPA on a binder thread when destoroying the
remote print adapter.
3. Fixed a rare crash when the print activity gets an
activity class callback while initializing.
4. Changed the preview pages on phone in land to four.
5. Fixed a flicker from a list of pages to an empty state
and then back to the list of pages.
bug:15704969
bug:16966145
Change-Id: I0eea2f30a102d8fefcbf90187fa6d8612fb19434
Conflicts:
packages/PrintSpooler/src/com/android/printspooler/widget/PageContentView.java
Diffstat (limited to 'core/java/android/print/PrintManager.java')
-rw-r--r-- | core/java/android/print/PrintManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/print/PrintManager.java b/core/java/android/print/PrintManager.java index 9361286..bf8ac65 100644 --- a/core/java/android/print/PrintManager.java +++ b/core/java/android/print/PrintManager.java @@ -535,7 +535,7 @@ public final class PrintManager { destroyed = isDestroyedLocked(); } - if (destroyed) { + if (destroyed && observer != null) { try { observer.onDestroy(); } catch (RemoteException re) { |