Merge "TaskFragment without running activity cannot occlude others" into sc-v2-dev am: 2f47fab607 am: 165d4a1238
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15884452 Change-Id: I5884350d44bb6962f114ec3fa33a547676d09dfe
This commit is contained in:
@@ -107,8 +107,9 @@ class EnsureActivitiesVisibleHelper {
|
||||
final TaskFragment childTaskFragment = child.asTaskFragment();
|
||||
childTaskFragment.updateActivityVisibilities(starting, configChanges,
|
||||
preserveWindows, notifyClients);
|
||||
mBehindFullyOccludedContainer |= childTaskFragment.getBounds().equals(
|
||||
mTaskFragment.getBounds());
|
||||
mBehindFullyOccludedContainer |=
|
||||
childTaskFragment.topRunningActivity() != null
|
||||
&& childTaskFragment.getBounds().equals(mTaskFragment.getBounds());
|
||||
if (mAboveTop && mTop.getTaskFragment() == childTaskFragment) {
|
||||
mAboveTop = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user