commit | 8249d33b29108253dd8e07b99ba0dd2cbdca51f3 | [log] [tgz] |
---|---|---|
author | Android Build Prod User <android-build-prod@system.gserviceaccount.com> | Fri Aug 27 01:19:42 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Aug 27 01:19:42 2021 +0000 |
tree | 0ce00af72924d12e5a38e1d651f27de0132ead07 | |
parent | c51a5b4e7d75c9d87604467b002bcf71f5128d71 [diff] | |
parent | 0664dbdab9d4bbcfa76adff5b810fea0122bee73 [diff] |
Merge "Don't avoid blurring overview" into sc-v2-dev am: 0664dbdab9 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15687143 Change-Id: I066a7566bc04b2628446ee8920d422228c4d2d96
diff --git a/quickstep/src/com/android/launcher3/statehandlers/DepthController.java b/quickstep/src/com/android/launcher3/statehandlers/DepthController.java index 68159fa..ab88b2b 100644 --- a/quickstep/src/com/android/launcher3/statehandlers/DepthController.java +++ b/quickstep/src/com/android/launcher3/statehandlers/DepthController.java
@@ -296,13 +296,10 @@ } if (supportsBlur) { - // We cannot mark the window as opaque in overview because there will be an app window - // below the launcher layer, and we need to draw it -- without blurs. - boolean isOverview = mLauncher.isInState(LauncherState.OVERVIEW); - boolean opaque = mLauncher.getScrimView().isFullyOpaque() && !isOverview; + boolean opaque = mLauncher.getScrimView().isFullyOpaque(); - int blur = opaque || isOverview || !mCrossWindowBlursEnabled - || mBlurDisabledForAppLaunch ? 0 : (int) (depth * mMaxBlurRadius); + int blur = !mCrossWindowBlursEnabled || mBlurDisabledForAppLaunch + ? 0 : (int) (depth * mMaxBlurRadius); SurfaceControl.Transaction transaction = new SurfaceControl.Transaction() .setBackgroundBlurRadius(mSurface, blur) .setOpaque(mSurface, opaque);