From d655b82f0935ac8e71a9abbf10cba54ca4c36daf Mon Sep 17 00:00:00 2001 From: Karl Simonsen Date: Mon, 2 May 2022 14:20:46 -0700 Subject: [PATCH] Fix typo in adb.py SetProp() Summary: Fix typo in adb.py SetProp() Adb is dereferenced twice. (copy / paste error) Reviewed By: MarkAndersonIX Differential Revision: D36060849 fbshipit-source-id: 0ed873facc58cb80efa9038fe3ffdd3215fab512 --- benchmarking/platforms/android/adb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarking/platforms/android/adb.py b/benchmarking/platforms/android/adb.py index d45ad7e4..4ff29465 100644 --- a/benchmarking/platforms/android/adb.py +++ b/benchmarking/platforms/android/adb.py @@ -130,7 +130,7 @@ def getprop(self, property: str, **kwargs) -> str: return retval def setprop(self, property, value, **kwargs): - self.adb.shell(["setprop", property, value], **kwargs) + self.shell(["setprop", property, value], **kwargs) def isRootedDevice(self, silent=True) -> bool: try: