Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Commit

Permalink
Ask adb to wait for any device inside the class
Browse files Browse the repository at this point in the history
  • Loading branch information
srevinsaju committed Aug 27, 2020
1 parent 44d9886 commit ac9d844
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions guiscrcpy/lib/mapper/mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ def __init__(self, device_id, adb, config_path=None):
self.config = dict()
self._device_id = device_id
self.app = None
self.adb = adb
self.adb.command('wait-for-any-device')
self.window = None
self.dimensions = adb.get_dimensions(adb.path, device_id)
if self.check_orientation() == 1:
Expand Down

0 comments on commit ac9d844

Please sign in to comment.