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

Commit

Permalink
Remove adb.shell path parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
srevinsaju committed Aug 27, 2020
1 parent 30f9086 commit 1ff3f6c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions guiscrcpy/lib/toolkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,12 @@ def reorient_portrait(self):

def reorient_landscape(self):
logging.debug("Passing REORIENT [LANDSCAPE]")
adb.shell(
adb.path,
self.adb.shell(
'settings put system accelerometer_rotation 0',
device_id=self.deviceId
)
adb.shell(
adb.path, "settings put system rotation 1",
self.adb.shell(
"settings put system rotation 1",
device_id=self.deviceId)

def expand_notifications(self):
Expand Down

0 comments on commit 1ff3f6c

Please sign in to comment.