Merge "Allowing activity visible behind translucent adjacent TaskFragments" into sc-v2-dev am: 9d25f3fbe8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16128727 Change-Id: Id14e25b8f997af13ad666bd5846f20ebc36a0eb6
This commit is contained in:
@@ -119,8 +119,12 @@ class EnsureActivitiesVisibleHelper {
|
||||
|
||||
if (adjacentTaskFragments != null && adjacentTaskFragments.contains(
|
||||
childTaskFragment)) {
|
||||
// Everything behind two adjacent TaskFragments are occluded.
|
||||
mBehindFullyOccludedContainer = true;
|
||||
if (!childTaskFragment.isTranslucent(starting)
|
||||
&& !childTaskFragment.getAdjacentTaskFragment().isTranslucent(
|
||||
starting)) {
|
||||
// Everything behind two adjacent TaskFragments are occluded.
|
||||
mBehindFullyOccludedContainer = true;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user