summaryrefslogtreecommitdiff
path: root/quickstep
diff options
context:
space:
mode:
author vinayjoglekar <vinayjoglekar@google.com> 2025-03-24 16:39:59 +0530
committer vinayjoglekar <vinayjoglekar@google.com> 2025-03-24 18:10:18 +0530
commit7d27140a5969b0cb1de4915f7a397a61e231d9d7 (patch)
tree19774bd260a13a76e73b2db7afb1c95117b2ba4c /quickstep
parent88b2f23a83252572a53cae7dbf4d27de54592553 (diff)
Fix action buttons visibility in handheld devices with blur enabled(1/n)
Added scrim in overview over blur. Bug: 404479758 Test: Manual. Enter overview from home with and without tasks in handheld devices. Flag: com.android.launcher3.enable_overview_background_wallpaper_blur Change-Id: If8cb37099f2e2b1fa8bed1611ed359b49f255d64
Diffstat (limited to 'quickstep')
-rw-r--r--quickstep/src/com/android/launcher3/uioverrides/states/OverviewState.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/quickstep/src/com/android/launcher3/uioverrides/states/OverviewState.java b/quickstep/src/com/android/launcher3/uioverrides/states/OverviewState.java
index 3170df9571..c774143328 100644
--- a/quickstep/src/com/android/launcher3/uioverrides/states/OverviewState.java
+++ b/quickstep/src/com/android/launcher3/uioverrides/states/OverviewState.java
@@ -22,7 +22,6 @@ import static com.android.launcher3.Flags.enableScalingRevealHomeAnimation;
import static com.android.launcher3.logging.StatsLogManager.LAUNCHER_STATE_OVERVIEW;
import android.content.Context;
-import android.graphics.Color;
import android.graphics.Rect;
import android.os.SystemProperties;
@@ -162,7 +161,7 @@ public class OverviewState extends LauncherState {
@Override
public int getWorkspaceScrimColor(Launcher launcher) {
return enableOverviewBackgroundWallpaperBlur() && BlurUtils.supportsBlursOnWindows()
- ? Color.TRANSPARENT
+ ? Themes.getAttrColor(launcher, R.attr.overviewScrimColorOverBlur)
: Themes.getAttrColor(launcher, R.attr.overviewScrimColor);
}