You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure if this is a change in Android 4.3 properties, a Nexus 7 issue. Seems outside the scope of AndroidViewClient, other than it appears that AndroidViewClient assumes the height and width properties will exist.
You are totally right. These properties were not implemented in v4.0.0, mainly because different sources give different results (probably dumpsys window is the most accurate).
I will be fixing the problem ASAP.
On my Nexus 7 (stock 4.3), anything that relies on getprop('display.height') or getprop('display.width') fails as those commands return nothing.
Running adb shell getprop on my Nexus 7 returns two properties that may be of use:
persist.sys.NV_DISPXRES (value 800)
persist.sys.NV_DISPYRES (value 1280)
I am not sure if this is a change in Android 4.3 properties, a Nexus 7 issue. Seems outside the scope of AndroidViewClient, other than it appears that AndroidViewClient assumes the height and width properties will exist.
Update:
I do not think that 'display.height' and 'display.width' are generic for the getprop command. If you look at the source for the monkey daemon, (http://androidxref.com/4.3_r2.1/xref/development/cmds/monkey/src/com/android/commands/monkey/MonkeySourceNetworkVars.java#86), you can see these values are discovered in some other way.
The text was updated successfully, but these errors were encountered: