Merge "Always trigger a write if no pages are written" into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
965a706282
@@ -94,6 +94,7 @@ public final class RemotePrintDocument {
|
||||
// but the content has changed.
|
||||
if (mNextCommand == null) {
|
||||
if (mUpdateSpec.pages != null && (mDocumentInfo.changed
|
||||
|| mDocumentInfo.writtenPages == null
|
||||
|| (mDocumentInfo.info.getPageCount()
|
||||
!= PrintDocumentInfo.PAGE_COUNT_UNKNOWN
|
||||
&& !PageRangeUtils.contains(mDocumentInfo.writtenPages,
|
||||
|
||||
Reference in New Issue
Block a user