Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach committed Jan 25, 2024
1 parent da2ea4b commit eaba282
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/commands/device/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export async function prepareEmulator(adb) {
const avdName = avd.replace('@', '');
let isEmulatorRunning = true;
try {
// This API implicitly modifies curDeviceId and emulatorPort properties of the adb instance
await adb.getRunningAVDWithRetry(avdName, 5000);
} catch (e) {
this.log.debug(`Emulator '${avdName}' is not running: ${e.message}`);
Expand Down

0 comments on commit eaba282

Please sign in to comment.