/** * Removed an accessibility interaction connection interface for a given window. * * @param windowToken The window token to which a connection is removed. * @hide */ public void removeAccessibilityInteractionConnection(IWindow windowToken) { try { mService.removeAccessibilityInteractionConnection(windowToken); } catch (RemoteException re) { Log.e(LOG_TAG, "Error while removing an accessibility interaction connection. ", re); } }
/** * Removed an accessibility interaction connection interface for a given window. * * @param windowToken The window token to which a connection is removed. * @hide */ public void removeAccessibilityInteractionConnection(IWindow windowToken) { final IAccessibilityManager service; synchronized (mLock) { service = getServiceLocked(); if (service == null) { return; } } try { service.removeAccessibilityInteractionConnection(windowToken); } catch (RemoteException re) { Log.e(LOG_TAG, "Error while removing an accessibility interaction connection. ", re); } }