summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2014-12-04 11:43:02 -0800
committerWinson Chung <winsonc@google.com>2014-12-04 13:49:46 -0800
commit860e2d86d8c05b03e985e438664069794825ef0f (patch)
tree6e7f1fe5d2e4e27c5cfc07eb8c8a49ce3724e037 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentb255e49fe4cab9cae912714a009860c5c1993b33 (diff)
Ensure that loading and unloading of tasks happen symmetrically with lifecycle events. (Bug 18574950)
Since we were unloading tasks when the activity was stopped, but only reloading tasks on the next onCreate()/onNewIntent(), there were cases where the system would create the activity but then immediately stop and start it (ie. when the screen is turned off while the activity has resumeWhilePausing=True set in its manifest). This CL ensures that we reload the tasks with the same state used the last time the Recents activity was started. The CL also cleans up some visibility state that was confusing and is no longer necessary, fixes a small issue with the dismiss button flashing when toggling Recents quickly, and fixes some cases where the initial stack scroll is set incorrectly.
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions