diff options
author | arangelov <arangelov@google.com> | 2020-04-27 17:23:04 +0100 |
---|---|---|
committer | arangelov <arangelov@google.com> | 2020-04-28 12:59:18 +0100 |
commit | 1b11cc1a17de59f284b1b3dc28375ac3bc63c767 (patch) | |
tree | c8c3412ea6642549ef390ee325763caf09938d71 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 77576fe964760d1bc381cb0dc0081dd4f599bfcc (diff) |
Only perform autolaunch if list has completely rebuilt
Previously we would check for autolaunch the first time
onPostListReady is called, but that is too early in the case
when we start the async task for sorting the targets. In
that case onPostListReady is called twice - once before
task is launched, and once after task is finished.
We fix this by passing the rebuildListCompleted parameter to
the onPostListReady callback and use it to check for autolaunch.
Test: atest ChooserActivity
Test: atest ResolverActivity
Test: manual
Fixes: 154728817
Change-Id: Ib1b049af00d791898b908bdb65971c07c558f3ac
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions