Merge "Create a bug fix flag for the FloatingMaskView." into main

This commit is contained in:
Brandon Dayauon
2024-06-03 18:18:05 +00:00
committed by Android (Google) Code Review
2 changed files with 6 additions and 3 deletions
@@ -692,7 +692,7 @@ public class PrivateProfileManager extends UserProfileManager {
/** Fades out the private space container. */
private ValueAnimator translateFloatingMaskView(boolean animateIn) {
if (!Flags.privateSpaceFloatingMaskView() || mFloatingMaskView == null) {
if (!Flags.privateSpaceAddFloatingMaskView() || mFloatingMaskView == null) {
return new ValueAnimator();
}
// Translate base on the height amount. Translates out on expand and in on collapse.
@@ -803,7 +803,7 @@ public class PrivateProfileManager extends UserProfileManager {
}
private void attachFloatingMaskView(boolean expand) {
if (!Flags.privateSpaceFloatingMaskView()) {
if (!Flags.privateSpaceAddFloatingMaskView()) {
return;
}
mFloatingMaskView = (FloatingMaskView) mAllApps.getLayoutInflater().inflate(