summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Script.java
diff options
context:
space:
mode:
authoryinxu <yinxu@google.com>2018-03-15 11:39:15 -0700
committeryinxu <yinxu@google.com>2018-03-20 10:27:37 -0700
commit0d9e55773d25685c3407614c13b8416c6c72faae (patch)
tree17b15a68fa4e8e4a871f317761ba2ba31d581eb1 /rs/java/android/renderscript/Script.java
parent7cadb341cf34a50eef9e914509e3a76c2d271924 (diff)
Use AsyncTask.SERIAL_EXECUTOR as the default executor for scan
Because there will be multiple callbacks for each scan and they must be invoked with the same order as they are received by the platform, we should use AsyncTask.SERIAL_EXECUTOR instead of AsyncTask.THREAD_POOL_EXECUTOR as the default executor. This is a clean cherry-pick from: https://android-review.googlesource.com/#/c/platform/frameworks/base/+/640804/ Bug:74840070 Test: Unit Test, CTS Test Change-Id: I7333940dad38f7e400a4124486bdb21cea0d5220 Merged-in: I7333940dad38f7e400a4124486bdb21cea0d5220 (cherry picked from commit 2e8d5ed7768f905e77780c3d7e8a88d07e5d91b3)
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions