Merge "Create a bug fix flag for the FloatingMaskView." into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
f839b1121d
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user