am b0797d2a: am ec88fbf7: am c59be126: Merge "Update print preview when a printer becomes available" into lmp-dev

* commit 'b0797d2a95c6046c1281aa74a9cffff905f2e081':
  Update print preview when a printer becomes available
This commit is contained in:
Svetoslav
2014-09-16 09:12:48 +00:00
committed by Android Git Automerger

View File

@@ -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)) {