File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
lib/common/mobile/android Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export class LogcatHelper implements Mobile.ILogcatHelper {
61
61
private async getLogcatStream ( deviceIdentifier : string , pid ?: string ) {
62
62
const device = await this . $devicesService . getDevice ( deviceIdentifier ) ;
63
63
const minAndroidWithLogcatPidSupport = "7.0.0" ;
64
- const isLogcatPidSupported = semver . gte ( semver . coerce ( device . deviceInfo . version ) , minAndroidWithLogcatPidSupport ) ;
64
+ const isLogcatPidSupported = ! ! device . deviceInfo . version && semver . gte ( semver . coerce ( device . deviceInfo . version ) , minAndroidWithLogcatPidSupport ) ;
65
65
const adb : Mobile . IDeviceAndroidDebugBridge = this . $injector . resolve ( DeviceAndroidDebugBridge , { identifier : deviceIdentifier } ) ;
66
66
const logcatCommand = [ "logcat" ] ;
67
67
You can’t perform that action at this time.
0 commit comments