mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Added custom actions for showing the shortcuts menu and adding a quick action
on the home screen Bug: 30374655 Change-Id: I2f3ae31f2fb2c09f64f2a47e95a9d25435f7efe2
This commit is contained in:
@@ -648,6 +648,13 @@ public class BubbleTextView extends TextView
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the view can show custom shortcuts.
|
||||
*/
|
||||
public boolean hasDeepShortcuts() {
|
||||
return !mLauncher.getShortcutIdsForItem((ItemInfo) getTag()).isEmpty();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the start delay when animating between certain {@link FastBitmapDrawable} states.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user