Merge "Create a bug fix flag for the FloatingMaskView." into main
This commit is contained in:
commit
f839b1121d
2 files changed
+6
-3
No files matched your search
@@ -45,8 +45,11 @@ flag {
|
||||
|
||||
|
||||
flag {
|
||||
name: "private_space_floating_mask_view"
|
||||
name: "private_space_add_floating_mask_view"
|
||||
namespace: "launcher_search"
|
||||
description: "This flag enables the floating mask view as part of the Private Space animation. "
|
||||
bug: "339850589"
|
||||
metadata {
|
||||
purpose: PURPOSE_BUGFIX
|
||||
}
|
||||
}
|
||||
@@ -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