@Override public Object call(Object who, Method method, Object... args) throws Throwable { MethodParameterUtils.replaceFirstAppPkg(args); return method.invoke(who, args); } }
@Override public Object call(Object who, Method method, Object... args) throws Throwable { MethodParameterUtils.replaceFirstAppPkg(args); return method.invoke(who, args); }
@Override public Object call(Object who, Method method, Object... args) throws Throwable { MethodParameterUtils.replaceFirstAppPkg(args); return method.invoke(who, args); }
@Override public Object call(Object who, Method method, Object... args) throws Throwable { MethodParameterUtils.replaceFirstAppPkg(args); return method.invoke(who, args); } }
@Override public Object call(Object who, Method method, Object... args) throws Throwable { MethodParameterUtils.replaceFirstAppPkg(args); return method.invoke(who, args); }
@Override public Object call(Object who, Method method, Object... args) throws Throwable { MethodParameterUtils.replaceFirstAppPkg(args); return method.invoke(who, args); }
@Override public Object call(Object who, Method method, Object... args) throws Throwable { MethodParameterUtils.replaceFirstAppPkg(args); return method.invoke(who, args); }
@Override public Object call(Object who, Method method, Object... args) throws Throwable { MethodParameterUtils.replaceFirstAppPkg(args); return method.invoke(who, args); }
@Override public Object call(Object who, Method method, Object... args) throws Throwable { MethodParameterUtils.replaceFirstAppPkg(args); return method.invoke(who, args); }
@Override public Object call(Object who, Method method, Object... args) throws Throwable { MethodParameterUtils.replaceFirstAppPkg(args); return method.invoke(who, args); } }
@Override public Object call(Object who, Method method, Object... args) throws Throwable { MethodParameterUtils.replaceFirstAppPkg(args); return method.invoke(who, args); }
@Override public Object call(Object who, Method method, Object... args) throws Throwable { MethodParameterUtils.replaceFirstAppPkg(args); return method.invoke(who, args); }
@Override public Object call(Object who, Method method, Object... args) throws Throwable { MethodParameterUtils.replaceFirstAppPkg(args); return method.invoke(who, args); } }
@Override public Object call(Object who, Method method, Object... args) throws Throwable { MethodParameterUtils.replaceFirstAppPkg(args); return method.invoke(who, args); } }
@Override public Object call(Object who, Method method, Object... args) throws Throwable { MethodParameterUtils.replaceFirstAppPkg(args); return method.invoke(who, args); }
@Override public boolean beforeCall(Object who, Method method, Object... args) { MethodParameterUtils.replaceFirstAppPkg(args); return super.beforeCall(who, method, args); }
@Override public boolean beforeCall(Object who, Method method, Object... args) { MethodParameterUtils.replaceFirstAppPkg(args); return super.beforeCall(who, method, args); } }
@Override public boolean beforeCall(Object who, Method method, Object... args) { if (args == null || args.length == 0) { return super.beforeCall(who, method, args); } if (args[0] instanceof Integer) { args[0] = getRealUid(); } MethodParameterUtils.replaceFirstAppPkg(args); return super.beforeCall(who, method, args); }
@Override public Object call(Object who, Method method, Object... args) throws Throwable { String pkg = MethodParameterUtils.replaceFirstAppPkg(args); if (VirtualCore.get().isAppInstalled(pkg)) { VNotificationManager.get().cancelAllNotification(pkg, getAppUserId()); return 0; } return method.invoke(who, args); } }
@Override public Object call(Object who, Method method, Object... args) throws Throwable { String pkg = MethodParameterUtils.replaceFirstAppPkg(args); if (getHostPkg().equals(pkg)) { return method.invoke(who, args); } String tag = (String) args[1]; int id = (int) args[2]; id = VNotificationManager.get().dealNotificationId(id, pkg, tag, getAppUserId()); tag = VNotificationManager.get().dealNotificationTag(id, pkg, tag, getAppUserId()); args[1] = tag; args[2] = id; return method.invoke(who, args); } }