diff --git a/lib/emulators/avd.js b/lib/emulators/avd.js index 1876cc2..f37b1cd 100644 --- a/lib/emulators/avd.js +++ b/lib/emulators/avd.js @@ -231,9 +231,8 @@ exports.start = function start(config, emu, opts, callback) { args.push('-partition-size', opts.partitionSize); // system/data partition size in MBs } - var sdcard = opts.sdcard || emu.sdcard; - if (sdcard !== undefined) { - args.push('-sdcard', sdcard); // SD card image (default /sdcard.img + if (opts.sdcard) { + args.push('-sdcard', opts.sdcard); // SD card image (default /sdcard.img) } // add any other args