use of com.lody.virtual.client.hook.secondary.ServiceConnectionDelegate in project VirtualApp by asLody.
the class UnbindService method call.
@Override
public Object call(Object who, Method method, Object... args) throws Throwable {
IServiceConnection conn = (IServiceConnection) args[0];
ServiceConnectionDelegate delegate = ServiceConnectionDelegate.removeDelegate(conn);
if (delegate == null) {
return method.invoke(who, args);
}
return VActivityManager.get().unbindService(delegate);
}
Aggregations