Java Code Examples for com.android.ddmlib.AndroidDebugBridge#removeDeviceChangeListener()
The following examples show how to use
com.android.ddmlib.AndroidDebugBridge#removeDeviceChangeListener() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: LogSourceManager.java From logviewer with Apache License 2.0 | 6 votes |
@Override public void dispose() { AndroidDebugBridge.removeClientChangeListener(this); for (DeviceLogSource deviceLogSource : deviceLogSourcesMap.values()) { deviceLogSource.getLogProvider().dispose(); } for (LogSource fileLogSource : fileLogSourcesMap.values()) { fileLogSource.getLogProvider().dispose(); } if (myBridge != null) { AndroidDebugBridge.removeDeviceChangeListener(this); AndroidDebugBridge.removeDebugBridgeChangeListener(this); myBridge = null; } deviceLogSourcesMap.clear(); }
Example 2
Source File: MobileDeviceNode.java From NBANDROID-V2 with Apache License 2.0 | 4 votes |
@Override protected void removeNotify() { AndroidDebugBridge.removeDeviceChangeListener(this); this.setKeys(new ClientHolder[0]); }
Example 3
Source File: EmulatorDeviceNode.java From NBANDROID-V2 with Apache License 2.0 | 4 votes |
@Override protected void removeNotify() { AndroidDebugBridge.removeDeviceChangeListener(this); this.setKeys(new ClientHolder[0]); }
Example 4
Source File: DevicesNode.java From NBANDROID-V2 with Apache License 2.0 | 4 votes |
@Override protected void removeNotify() { AndroidDebugBridge.removeDeviceChangeListener(this); this.setKeys(new DeviceHolder[0]); }
Example 5
Source File: LogDevicesComboBoxSupport.java From NBANDROID-V2 with Apache License 2.0 | 3 votes |
/** * Detach all listeners of this support class. */ public void detach() { AndroidDebugBridge.removeDeviceChangeListener(this); reader.removePropertyChangeListener(this); deviceLookup.removeLookupListener(this); return; }