@Override public boolean beforeCall(Object who, Method method, Object... args) { List<ShortcutInfo> shortcutList = findFirstShortcutList(args); if (shortcutList != null) { String hostPkg = getHostPkg(); for (ShortcutInfo shortcutInfo : shortcutList) { replaceShortcutInfo(shortcutInfo, hostPkg, getPM()); } } return super.beforeCall(who, method, args); }
@Override public boolean beforeCall(Object who, Method method, Object... args) { List<ShortcutInfo> shortcutList = findFirstShortcutList(args); if (shortcutList != null) { String hostPkg = getHostPkg(); for (ShortcutInfo shortcutInfo : shortcutList) { replaceShortcutInfo(shortcutInfo, hostPkg, getPM()); } } return super.beforeCall(who, method, args); }