summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2016-03-09 16:54:52 -0800
committerPhilip P. Moltmann <moltmann@google.com>2016-03-18 10:57:32 -0700
commit066bf81b983ce23b91d19b85b7c37a61fba7a9a6 (patch)
tree474b2e2c2aaff77a879e29efbd3347552cd80dab /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentef5577a15dfc652edcfeaab46cdea830b749f1b8 (diff)
Deal with print-preview renderings that do not match the correct number
of pages. If the printing app declares more pages than the print preview pdf has we used to throw an exception in the PDFManupulationService. This caused the bitmap to be never written and the read-bitmap function to hang forever. This was because read() return 0 meaning "pipe is closed" which lead to an infinite loop. Now a read of 0 page might cause an exception if the page is not fully read. This exception then causes the preview_page_error to be displayed. Bug: 27556666 Change-Id: I7b9de50dce930629e8d38efd4e2659a00b70cc4e
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions