We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 177e833 commit 36a10afCopy full SHA for 36a10af
src/interceptors/android/adb-commands.ts
@@ -54,8 +54,11 @@ export const getConnectedDevices = batchCalls(async (adbClient: adb.AdbClient) =
54
try {
55
const devices = await adbClient.listDevices();
56
return devices
57
- .filter(d => d.type !== 'offline' && d.type !== 'unauthorized')
58
- .map(d => d.id);
+ .filter(d =>
+ d.type !== 'offline' &&
59
+ d.type !== 'unauthorized' &&
60
+ !d.type.startsWith("no permissions")
61
+ ).map(d => d.id);
62
} catch (e) {
63
if (
64
e.code === 'ENOENT' || // No ADB available
0 commit comments