summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2016-03-21 12:48:58 -0700
committerPhilip P. Moltmann <moltmann@google.com>2016-03-21 12:53:06 -0700
commitb170c08387169ea65da445b579de2a5655ec8454 (patch)
tree1a39e92073319c588bfd3afbec836d292da38799 /rs/java/android/renderscript/RenderScript.java
parent8c536f91f1a72f671d41d54b3aeda4d70ee90d49 (diff)
Don't mix UI and print job state
In PrintActivity.OnPause we set the print job state based on the PrintActivity state. The issue was that FINISHED was interpreted as "cancel print job". Actually with FINISHED does not tell what state the job should be in. The only purpose of the finished state was to guard against double-invocation of doFinish(). Hence remove this recently introduced state and use a simple boolean to guard against doule invocation of doFinish(). Bug: 27760331 Change-Id: I0767c2b0b9c28e8904647cc832c236f67f92bcfe
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions