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