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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user