Separate blur/fallback styles for all apps and overview
Fix: 415233763 Test: Manual. go to overview/all apps enable/disable battery saver mode. Flag: com.android.launcher3.all_apps_blur Flag: com.android.launcher3.enable_overview_background_wallpaper_blur Change-Id: I4fdb672feb34d4b4da74f430eb8ef9a86ec3adf2
This commit is contained in:
1 parent
2a6553ff9e
commit
3997f6ce4a
11 files changed
+62
-22
No files matched your search
@@ -846,7 +846,7 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
|
||||
if (!Flags.allAppsBlur()) {
|
||||
return mBottomSheetBackgroundColorLegacy;
|
||||
}
|
||||
if (!mActivityContext.isBackgroundBlurEnabled()) {
|
||||
if (!mActivityContext.isAllAppsBackgroundBlurEnabled()) {
|
||||
// Don't apply any alpha if the blur is disabled.
|
||||
return mBottomSheetBackgroundColorBlurFallback;
|
||||
}
|
||||
@@ -854,7 +854,7 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
|
||||
}
|
||||
|
||||
boolean isBackgroundBlurEnabled() {
|
||||
return Flags.allAppsBlur() && mActivityContext.isBackgroundBlurEnabled();
|
||||
return Flags.allAppsBlur() && mActivityContext.isAllAppsBackgroundBlurEnabled();
|
||||
}
|
||||
|
||||
/** Refresh the UI according to the current theme. */
|
||||
|
||||
Reference in new issue
Block a user