summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2018-02-28 14:21:07 -0800
committerBryce Lee <brycelee@google.com>2018-03-02 08:37:00 -0800
commita0fb8e03b04759fca82428e7ad70c2832cb94d73 (patch)
tree4cd016275aed261f35e790f9bbf96aa72b6da0db /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc5ad652629c3f28fcb77ca63f99882554a832cbc (diff)
Wait to pause activity if translucent activity is waiting.
A recent change moved an activity to paused if it was stopped and became visible. However, there are situations where this is not desired, such as when waiting for translucent activity to become visible. The extra binder calls from pausing during this time leads to visible jank. Therefore should avoid moving states until after this operation has completed. Change-Id: I7bbab002cbee479f436515e7cc5db6f3a1f10b16 Fixes: 73832787 Test: atest FrameworksServicesTests:com.android.server.am.ActivityRecordTests#testPausingWhenVisibleFromStopped Test: atest CtsActivityManagerDeviceTestCases:ActivityLifecycleTests#testPausedWithTranslucentOnTop Test: atest CtsActivityManagerDeviceTestCases:ActivityLifecycleTests#testPausedWhenReturningWithTranslucentOnTop Test: atest CtsActivityManagerDeviceTestCases:ActivityLifecycleTests#testPausedWhenRecreatedFromInNonFocusedStack Test: atest CtsActivityManagerDeviceTestCases:ActivityLifecycleTests#testPausedWhenRestartedFromInNonFocusedStack
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions