Merge "Redraw the UI when a print page preview is updated" into nyc-dev

am: 0d92153759

* commit '0d921537595b3a9ebe8dda7b364659800922f5a8':
  Redraw the UI when a print page preview is updated
This commit is contained in:
Philip P. Moltmann
2016-03-07 17:39:18 +00:00
committed by android-build-merger

View File

@@ -862,6 +862,9 @@ public final class PageContentRepository {
// Take a note that the content is rendered.
renderedPage.state = RenderedPage.STATE_RENDERED;
// Invalidate all caches of the old state of the bitmap
mRenderedPage.content.invalidateSelf();
// Announce success if needed.
if (mCallback != null) {
mCallback.onPageContentAvailable(renderedPage.content);