Exposing some private methods to easily customize arrow popup

Change-Id: I6f6dc0604a616f26c0879732a0237767ddbfdccc
This commit is contained in:
Sunny Goyal committed 2018-07-11 14:35:51 -07:00
1 parent 17b7d36594
commit 87b5eb689b
14 files changed
+112 -60

No files matched your search

@@ -162,7 +162,7 @@ public class ItemClickHandler {
*
* @param v The view that was clicked. Must be a tagged with a {@link ShortcutInfo}.
*/
private static void onClickAppShortcut(View v, ShortcutInfo shortcut, Launcher launcher) {
public static void onClickAppShortcut(View v, ShortcutInfo shortcut, Launcher launcher) {
if (shortcut.isDisabled()) {
final int disabledFlags = shortcut.runtimeStatusFlags & ShortcutInfo.FLAG_DISABLED_MASK;
if ((disabledFlags &