Fix shadow clipping in work FAB.

The reason is because the parent container having set clipped children
to true. It is already turned off for the fast letter scroll prototype
so we can probably just set to false all together.

Bug: 383299303
Test: manually-
before: https://drive.google.com/file/d/1GfJtmdX6RPi0QWlpjd1uBNGcDm_ePJko/view?usp=sharing
after: https://drive.google.com/file/d/1Lf6boBSeZ1ZcJ9M24S_JP6jzdUfov8kh/view?usp=sharing
Flag: com.android.launcher3.work_scheduler_in_work_profile
Change-Id: I5060081f51a11dd34fd55afb75a5302759e16670
This commit is contained in:
Brandon Dayauon committed 2025-02-07 19:24:59 +00:00
1 parent a398bf4dc4
commit b995cbe857
1 file changed
+1 -6
@@ -273,12 +273,7 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
mFastScroller = findViewById(R.id.fast_scroller);
mFastScroller.setPopupView(findViewById(R.id.fast_scroller_popup));
mFastScrollLetterLayout = findViewById(R.id.scroll_letter_layout);
if (Flags.letterFastScroller()) {
// Set clip children to false otherwise the scroller letters will be clipped.
setClipChildren(false);
} else {
setClipChildren(true);
}
setClipChildren(false);
mSearchContainer = inflateSearchBar();
if (!isSearchBarFloating()) {