dtmilano / AndroidViewClient

Android ViewServer and ADB client
Apache License 2.0
1.62k stars 347 forks source link

Re-Expose method to allow clients to grab screensize #159

Closed Fuzion24 closed 8 years ago

Fuzion24 commented 8 years ago

I was using this method as follows:

     _,_,width, height = vc.device.getRestrictedScreen()
    w_midpoint = int(int(width)/2)
    h_midpoint = int(int(height)/2)
    vc.device.drag((w_midpoint,h_midpoint),(w_midpoint - 200, h_midpoint), 100)

I would like to make this function public again, so that I can continue to use it. It is not used internally anywhere and is dead code otherwise.