Commits


Svetoslav authored and The Android Automerger committed 70ac8e3845c
Page ranges not correct in come cases. 1. The algorithm that determines whether a page range contains another one had a bug and in some cases misbehaved. 2. When print is pressed we do a final layout and if nothing changes and we have the requeted pages we skip the final write. However, in this case we did not update the print job with the pages to be printed but we have to since in the previous write we did not ask for all selected pages, rather for the first one to be shown as a preview. Now if we have all pages and nothing changed we update the print job pages. bug:10530142 Change-Id: I10fb62ae5ae07b8e54d547fd4dca555a12451bc5