OSDN Git Service

Missing or wrong pages in preview when scorlling large docs.
authorSvetoslav <svetoslavganov@google.com>
Tue, 16 Sep 2014 04:03:28 +0000 (21:03 -0700)
committerSvetoslav <svetoslavganov@google.com>
Tue, 16 Sep 2014 04:07:27 +0000 (21:07 -0700)
commitf3f963b0bebea91b17f7e60d9b826c458bfde38c
tree3ea12658ba0add85d60e3e60eb4247b7f701a86b
parentf230c5d21be416f276009b0fd0524931cd671488
Missing or wrong pages in preview when scorlling large docs.

The bound pages in the adapter were not properly tracked, more
specifically we did not remove pages from the bound set ending
up in a bad state. Also when the printer changes and if the
new one has different page size the content disappears due to
us not notifying for the data set change.

bug:17515670

Change-Id: Iac74e864609012f6804584fa133e87c27dc186a5
packages/PrintSpooler/src/com/android/printspooler/ui/PageAdapter.java
packages/PrintSpooler/src/com/android/printspooler/ui/PrintPreviewController.java