openatx / adbutils

pure python adb library for google adb service.
MIT License
761 stars 175 forks source link

fix: override window size #9

Closed GiantTreeLP closed 5 years ago

GiantTreeLP commented 5 years ago

Hi,

I stumbled upon the window_size() method and asked myself, why it always gave me the full resolution for my phone, even though I had enabled a smaller resolution.

The wm size command returns the override size in addition to the physical size. This pull request adds support for these overridden resolutions.