summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2018-04-13 17:58:02 -0700
committerBryce Lee <brycelee@google.com>2018-04-20 08:32:11 -0700
commitc961e0a52b6884914c1edb450e47edd1e2bd8ef1 (patch)
treecebd74c3293ba0c2af70f43be949e7150f6d96fd /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent069c5b58b09d14263b9a86852d60da45651b3099 (diff)
Consider lock state when determining next activity to become visible.
When an activity shown on top of the lock screen finishes, the next activity to become visible is considered. This activity is determined by the supervisor's top running activity. When the focused stack does not have a top running activity, the top most non-focused stack's top running activity is considered. In the case the device is locked, this value may be an activity that does not show on lock screen. As a result, the finishing activity will wait indefinitely for an activity that will never appear. This changelist introduces the ability to ask for the top running activity taking the current locked state into consideration. When locked, only activities that can show on top of the lock screen will be returned if we consider non-focused stacks. Change-Id: I235e345c0b1d255b44d147bc71069c164389db4f Fixes: 76424176 Test: atest FrameworksServicesTests:com.android.server.am.ActivityStackSupervisorTests#testNonFocusedTopRunningActivity
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions