From 1ff3f6ca445ec781173463eba52f7d3b83c287eb Mon Sep 17 00:00:00 2001 From: Srevin Saju Date: Thu, 27 Aug 2020 18:33:56 +0300 Subject: [PATCH] Remove adb.shell path parameter --- guiscrcpy/lib/toolkit.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/guiscrcpy/lib/toolkit.py b/guiscrcpy/lib/toolkit.py index 09afac0e..f920ec35 100644 --- a/guiscrcpy/lib/toolkit.py +++ b/guiscrcpy/lib/toolkit.py @@ -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):