public void connected(ComponentName name, IBinder service, boolean dead) throws RemoteException { IBinderDelegateService delegateService = IBinderDelegateService.Stub.asInterface(service); if (delegateService != null) { name = delegateService.getComponent(); service = delegateService.getService(); IBinder proxy = ProxyServiceFactory.getProxyService(VClientImpl.get().getCurrentApplication(), name, service); if (proxy != null) { service = proxy; } } if(Build.VERSION.SDK_INT>=26) { IServiceConnectionO.connected.call(mConn, name, service, dead); }else { mConn.connected(name, service); } } }
public void connected(ComponentName name, IBinder service, boolean dead) throws RemoteException { IBinderDelegateService delegateService = IBinderDelegateService.Stub.asInterface(service); if (delegateService != null) { name = delegateService.getComponent(); service = delegateService.getService(); IBinder proxy = ProxyServiceFactory.getProxyService(VClientImpl.get().getCurrentApplication(), name, service); if (proxy != null) { service = proxy; } } if(Build.VERSION.SDK_INT>=26) { IServiceConnectionO.connected.call(mConn, name, service, dead); }else { mConn.connected(name, service); } } }
public void connected(ComponentName name, IBinder service, boolean dead) throws RemoteException { IBinderDelegateService delegateService = IBinderDelegateService.Stub.asInterface(service); if (delegateService != null) { name = delegateService.getComponent(); service = delegateService.getService(); IBinder proxy = ProxyServiceFactory.getProxyService(VClientImpl.get().getCurrentApplication(), name, service); if (proxy != null) { service = proxy; } } if(Build.VERSION.SDK_INT>=26) { IServiceConnectionO.connected.call(mConn, name, service, dead); }else { mConn.connected(name, service); } } }