Index: build/android/adb_logcat_monitor.py |
diff --git a/build/android/adb_logcat_monitor.py b/build/android/adb_logcat_monitor.py |
index aeaef0b093b80db7083578c0b305de2dd2fe787f..35ef7905b24fcb9a30506f5e0d246d3f52085214 100755 |
--- a/build/android/adb_logcat_monitor.py |
+++ b/build/android/adb_logcat_monitor.py |
@@ -126,6 +126,7 @@ def main(base_dir, adb_cmd='adb'): |
while True: |
for device_id in GetAttachedDevices(adb_cmd): |
if not device_id in devices: |
+ subprocess.call([adb_cmd, '-s', device_id, 'logcat', '-c']) |
Isaac (away)
2013/06/19 00:10:33
This should only be done during initialization, no
frankf
2013/06/19 00:18:54
No, this is the first time you're seeing this devi
|
devices[device_id] = (None, 0) |
for device in devices: |