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 {
3737 var cachedDeviceOption = this . $options . forDevice ;
3838 this . $options . forDevice = true ;
3939 this . $platformService . buildPlatform ( this . platform ) . wait ( ) ;
40- this . $options . forDevice = cachedDeviceOption ;
40+ this . $options . forDevice = ! ! cachedDeviceOption ;
4141
4242 packageFile = this . $platformService . getLatestApplicationPackageForDevice ( platformData ) . wait ( ) . packageName ;
4343 this . $logger . out ( "Using " , packageFile ) ;
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ export class PlatformService implements IPlatformService {
233233 var cachedDeviceOption = this . $options . forDevice ;
234234 this . $options . forDevice = true ;
235235 this . buildPlatform ( platform ) . wait ( ) ;
236- this . $options . forDevice = cachedDeviceOption ;
236+ this . $options . forDevice = ! ! cachedDeviceOption ;
237237
238238 // Get latest package that is produced from build
239239 var packageFile = this . getLatestApplicationPackageForDevice ( platformData ) . wait ( ) . packageName ;
You can’t perform that action at this time.
0 commit comments