diff options
author | Svetoslav <svetoslavganov@google.com> | 2014-09-16 02:21:58 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-09-16 02:21:59 +0000 |
commit | 0e51a6d97af96352e977675751dae8ff0280a593 (patch) | |
tree | c40597f29fcb9728627ca5e501a5b74e10180483 /packages | |
parent | 962683fddd9fca29ee0034d8f92cf5d4a0c478f5 (diff) | |
parent | e0fa06c088ea95a01c0219e9711c3bcc93ad2685 (diff) | |
download | frameworks_base-0e51a6d97af96352e977675751dae8ff0280a593.zip frameworks_base-0e51a6d97af96352e977675751dae8ff0280a593.tar.gz frameworks_base-0e51a6d97af96352e977675751dae8ff0280a593.tar.bz2 |
Merge "Update print preview when a printer becomes available" into lmp-dev
Diffstat (limited to 'packages')
-rw-r--r-- | packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java b/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java index dc2d5b1..7574fca 100644 --- a/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java +++ b/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java @@ -1993,6 +1993,7 @@ public class PrintActivity extends Activity implements RemotePrintDocument.Updat if ((isActive && gotCapab) || (becameActive && hasCapab)) { if (hasCapab && capabChanged) { updatePrintAttributesFromCapabilities(newCapab); + updatePrintPreviewController(false); } onPrinterAvailable(newPrinterState); } else if ((becameInactive && hasCapab) || (isActive && lostCapab)) { |