summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragment.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2013-03-29 17:49:12 -0700
committerChet Haase <chet@google.com>2013-04-02 07:30:52 -0700
commitc99d3c1fd618c1f64103b4f39dd95330309be5a3 (patch)
tree5b6c7977b13d9ce42d02b581eb80cb61e8fe52c0 /graphics/java/android/renderscript/ProgramFragment.java
parent579b0c091cd64a27b3e7d5bad8668dd9f3f92bb3 (diff)
Stop jank from window animations overlapping activity animations
Relaunching a running activity will sometimes cause animations in that activity to run, causing jank due to too much happening (window animations on that same window running at the same time). An earlier fix pauses application rendering while window animations are running, but only the first time the activity comes up. If the window is animated after that (such as is the case with re-launching it while it is running in the background), rendering, and therefore animations, happen as usual, causing the jank. The fix is to simply broaden the scope of when application rendering is paused to include anytime the window is animating. Issue #8472972 Make app animations play nice with window animations Change-Id: I1dd8da039fcb4d1faf6c0811bae97ef2847deb84
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragment.java')
0 files changed, 0 insertions, 0 deletions