Skip to content

Commit 6c4b663

Browse files
committed
Filter out unauthorized ADB devices
1 parent edd2208 commit 6c4b663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interceptors/android/adb-commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const getConnectedDevices = batchCalls(async (adbClient: adb.AdbClient) =
4848
try {
4949
const devices = await adbClient.listDevices();
5050
return devices
51-
.filter(d => d.type !== 'offline')
51+
.filter(d => d.type !== 'offline' && d.type !== 'unauthorized')
5252
.map(d => d.id);
5353
} catch (e) {
5454
if (

0 commit comments

Comments
 (0)