summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/15/changes
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2018-04-03 14:10:04 -0700
committerBryce Lee <brycelee@google.com>2018-04-10 15:08:29 -0700
commit84730a0a0c8e43877c5c4ba00231b4daf44489d0 (patch)
treedd1cc7ac96d9f787a33ca976cb3ff3ffc51db9fe /docs/html/sdk/api_diff/15/changes
parentcfa439f02fd43ebeb8c85f0e7b0787e9fc1f4aeb (diff)
Ensure ActivityStack's cached resumed activity is updated.
ActivityStack stores a reference to its resumed activity for quicker future reference. Currently, children must inform the ActivityStack of any movement in order to properly set this value. We are missing cases today, causing stale values to persist. This changelist addresses by updating the stack's paused and resumed activity references whenever the ancestor stack changes when a task or activity's parent is changed. Change-Id: I5ef6db6af3d7e304012c54afa996fbfff28e9110 Fixes: 75992227 Test: atest FrameworksServicesTests:com.android.server.am.ActivityStackTests#testResumedActivityFromActivityReparenting Test: atest FrameworksServicesTests:com.android.server.am.ActivityStackTests#testPrimarySplitScreenToFullscreenWhenMovedToBack Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerPinnedStackTests#testFinishPipActivityWithTaskOverlay
Diffstat (limited to 'docs/html/sdk/api_diff/15/changes')
0 files changed, 0 insertions, 0 deletions