From d83391fa879d9c1fcf836aee8f8318f81869d74b Mon Sep 17 00:00:00 2001 From: rosen-vladimirov Date: Mon, 24 Apr 2017 14:57:54 +0300 Subject: [PATCH] Do not start emulator when `--available-devices` is passed In case there's no devices attached and no emulators running, trying ` devices --available-devices` will start emulator. In order to fix this, modify the `startEmulatorIfNecessary` method to skip the starting in case `skipInferPlatform` option is passed. This option indicates that we are not concerned of specific platform, so the method does not know which is the target platform for which to start emulator. Add unit test for this behavior. --- lib/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common b/lib/common index d874d4d627..b96484eb79 160000 --- a/lib/common +++ b/lib/common @@ -1 +1 @@ -Subproject commit d874d4d627b6b6b9ecf8b717016e387508dc07d5 +Subproject commit b96484eb79704a84a6b2e3f94376072ac77065d8