summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChilun <chilunhuang@google.com>2021-05-20 18:14:32 +0800
committerChilun <chilunhuang@google.com>2021-05-26 12:50:33 +0800
commit8f3a6caab8481d66be8e1f915aee7969971c9cce (patch)
tree828d06197a2aa55eae2af224b417b287ae9cb6a3 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent37781305bd66e13b9b10e34b03e82640c330938a (diff)
Create ActivityClientRecord early in preExecute
We can guarantee that LaunchActivityItem will queue before ActivityConfigurationChangeItem. But ActivityConfigurationchangeItem#preExecute() still has the opportunity to execute before LaunchActivityItem#execute(). And at this time, ActivityClientRecord has not been created. This CL create ActivityClientRecord early in LaunchActivityItem#preExecute() and store in a new list of ActivityThread. Thus others can guarantee to get the ActivityClientRecord in preExecute(). Bug: 187691892 Test: atest TransactionExecutorTests Change-Id: Ib40270345223c5c6e76333803faf98937c5527f9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions