summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2016-04-11 14:26:58 -0700
committerAdam Powell <adamp@google.com>2016-04-11 14:26:58 -0700
commiteba13dd07f2e9070b2017f8defddd5bb719939a1 (patch)
tree4716348b8bb7fcffd71867821d225560213a1e84 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent3f7fdaaa766104cc5b8946676c9187661cb60aa7 (diff)
Prevent duplicate loader onLoadFinished calls on config change
Loaders report entering the started state in two places, once from their host callbacks and once when moving into their host fragment's starting state. In the former, we will also deliver load results if we're finishing a retained cycle. In practice, the individual fragment start happens first which clears the report-next-start flag, then the finishRetain step sees that flag is cleared and dispatches the finished load results again. Change reportStart to only call onLoadFinished if we are not finishing up a retain step. Bug 28074512 Change-Id: I85b848f7d7b239c8fac5aec8f0c91e4eea6bcebf
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions