Remove header protection for blurred app panel.

As requested here: https://docs.google.com/presentation/d/1BKFfB2LAIDoaA5aLs8did6IcUw_pktrSWI5xmypkl3s/edit?resourcekey=0-HpXwztiEYGe0BYQzUeBBbQ&pli=1&disco=AAABe0KKmWU

Demo: https://drive.google.com/file/d/19kf1BzfOL3-umWwmxLDFnCXrw08IeHIB/view?usp=sharing&resourcekey=0-dMDKrgz4-qEnhvneHI_EQw

Bug: 400827727
Bug: 371343636
Test: Manual
Flag: com.android.launcher3.all_apps_blur
Change-Id: Id8560e0d8b95f454bbd96bf484f4578bf505c88e
This commit is contained in:
Andy Wickham committed 2025-03-26 23:18:40 -07:00
1 parent b932dea54e
commit b3459574f4
1 file changed
+5
@@ -1425,6 +1425,11 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
mTmpPath.reset();
mTmpPath.addRoundRect(mTmpRectF, mBottomSheetCornerRadii, Direction.CW);
canvas.drawPath(mTmpPath, mHeaderPaint);
// When the background panel is blurred, we don't add header protection.
if (Flags.allAppsBlur()) {
return;
}
}
if (DEBUG_HEADER_PROTECTION) {