mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Merge deep shortcuts in rounded rect
- DeepShortcutViews are added to ShortcutsItemView, which is in PopupContainerWithArrow - Moved some shortcut-specific logic to ShortcutsItemView (namely, touch/long-click handling for draggin shortcuts) - Moved round-rect clipping to PopupItemView - Removed collapseToIcon() logic, including PillWidthRevealOutlineProvider, which was only used for that purpose. It isn't necessary now that the deep shortcuts have no background themselves. - Replaced focus pill drawable with ripple effect on shortcuts and notification view. Bug: 35766387 Change-Id: I6bc09f1851cfbb806df4bf75a6e435b0f1900c9c
This commit is contained in:
@@ -95,7 +95,7 @@ public abstract class AbstractFloatingView extends LinearLayout {
|
||||
return null;
|
||||
}
|
||||
|
||||
protected static void closeOpenContainer(Launcher launcher, @FloatingViewType int type) {
|
||||
public static void closeOpenContainer(Launcher launcher, @FloatingViewType int type) {
|
||||
AbstractFloatingView view = getOpenView(launcher, type);
|
||||
if (view != null) {
|
||||
view.close(true);
|
||||
|
||||
Reference in New Issue
Block a user