summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2014-09-16 08:42:37 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-09-16 08:42:37 +0000
commit9dd2ff496d6b5b2682c6f9ab23198e5eb0ac52c6 (patch)
treea6d8999f7ff9d2f893d3fcd251785a4937f1a054 /packages
parentf917166b6b5681a6213b2815e271547708285ad1 (diff)
parent0e51a6d97af96352e977675751dae8ff0280a593 (diff)
downloadframeworks_base-9dd2ff496d6b5b2682c6f9ab23198e5eb0ac52c6.zip
frameworks_base-9dd2ff496d6b5b2682c6f9ab23198e5eb0ac52c6.tar.gz
frameworks_base-9dd2ff496d6b5b2682c6f9ab23198e5eb0ac52c6.tar.bz2
am c59be126: Merge "Update print preview when a printer becomes available" into lmp-dev
* commit 'c59be126443a89c23a193e67f633ccccbfd939e0': Update print preview when a printer becomes available
Diffstat (limited to 'packages')
-rw-r--r--packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java1
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)) {