File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class AndroidDebugService implements IDebugService {
37
37
var cachedDeviceOption = this . $options . forDevice ;
38
38
this . $options . forDevice = true ;
39
39
this . $platformService . buildPlatform ( this . platform ) . wait ( ) ;
40
- this . $options . forDevice = cachedDeviceOption ;
40
+ this . $options . forDevice = ! ! cachedDeviceOption ;
41
41
42
42
packageFile = this . $platformService . getLatestApplicationPackageForDevice ( platformData ) . wait ( ) . packageName ;
43
43
this . $logger . out ( "Using " , packageFile ) ;
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ export class PlatformService implements IPlatformService {
233
233
var cachedDeviceOption = this . $options . forDevice ;
234
234
this . $options . forDevice = true ;
235
235
this . buildPlatform ( platform ) . wait ( ) ;
236
- this . $options . forDevice = cachedDeviceOption ;
236
+ this . $options . forDevice = ! ! cachedDeviceOption ;
237
237
238
238
// Get latest package that is produced from build
239
239
var packageFile = this . getLatestApplicationPackageForDevice ( platformData ) . wait ( ) . packageName ;
You can’t perform that action at this time.
0 commit comments