mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 08:56:55 +00:00
Show tooltips on cursor hover of taskbar icons.
Fix: 250092437 Test: TaskbarHoverToolTipControllerTest Flag: ENABLE_CURSOR_HOVER_STATES Change-Id: Ia0463518d13b313b354328078685930215fb7636
This commit is contained in:
@@ -690,6 +690,11 @@ public class TaskbarViewController implements TaskbarControllers.LoggableTaskbar
|
||||
.updateAndAnimateIsManuallyStashedInApp(true);
|
||||
}
|
||||
|
||||
/** Gets the hover listener for the provided icon view. */
|
||||
public View.OnHoverListener getIconOnHoverListener(View icon) {
|
||||
return new TaskbarHoverToolTipController(mActivity, mTaskbarView, icon);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the first chance to handle TaskbarView#onTouchEvent, and return whether we want to
|
||||
* consume the touch so TaskbarView treats it as an ACTION_CANCEL.
|
||||
|
||||
Reference in New Issue
Block a user