Closed mwasilew closed 9 years ago
Thanks. To understand your problem better, what difference between the 2 outputs was affecting you?
Some of the containers are missing in the compressed version .So when the view contains a couple of unnamed buttons it is impossible to navigate from a named object. One can use the unique ID, but that is a slight trouble when the object is out of the screen and doesn't appear in the XML dump. To sum up, probably there is a workaround to the problem but I wanted to keep the test scripts (almost) unchanged and this option allows to maintain backward compatibility.
The --compressed option is used for uiautomator dump by default. There was no option to switch it of. As output of 'compressed' and 'uncompressed' dump is different, backward compatibility was broken.
Signed-off-by: Milosz Wasilewski milosz.wasilewski@linaro.org