summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorYtai Ben-Tsvi <ytai@google.com>2020-06-09 15:52:57 -0700
committerYtai Ben-Tsvi <ytai@google.com>2020-06-09 16:05:25 -0700
commit46d87b7927c91424236cbd3e8280d36746449d91 (patch)
tree9a432c2a942c27feaa7e89b0149876aca557daf1 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent7caef40ad0fd1608d6f5ba849617db50d7b7e153 (diff)
Correctly propagate service state change
Due to a surprising behavior of Handler.obtainMessage(), the argument that indicated whether the service is available was always read as 0 (enabled), and we never correctly handled the service being unavailable (due to concurrent capture). Bug: 157496890 Test: Enabled debug logging and verified that the message is now passed correctly and that indeed that models get inactivated when capture starts and reactivated when it stops. Change-Id: Ibf4ecdb4e4dd0f5a02d5a388afddb205c29eb2ea
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions