diff options
author | Etan Cohen <etancohen@google.com> | 2018-05-25 07:54:27 -0700 |
---|---|---|
committer | Etan Cohen <etancohen@google.com> | 2018-05-25 07:54:27 -0700 |
commit | 171c3758d70f78b903961805cb84a549e7f72b51 (patch) | |
tree | 89a1095cef410ce140faa3bd508fda33602f550c | |
parent | 941b399fa103abe83c53b782dd32b15bac4c9bb0 (diff) | |
download | platform_tools_test_connectivity-171c3758d70f78b903961805cb84a549e7f72b51.tar.gz platform_tools_test_connectivity-171c3758d70f78b903961805cb84a549e7f72b51.tar.bz2 platform_tools_test_connectivity-171c3758d70f78b903961805cb84a549e7f72b51.zip |
[ACTS] Disable Location Mode configmration dialogs
Actual disable the dialogs - using 'adb shell' in adb shell execution
resulted in failures.
Bug: 79426050
Test: AttachTest passes, no pop ups
Change-Id: Iecea35df90f950b549f1a733b91402c41c5d6718
-rwxr-xr-x | acts/framework/acts/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/acts/framework/acts/utils.py b/acts/framework/acts/utils.py index f8c82918c0..e6b943a677 100755 --- a/acts/framework/acts/utils.py +++ b/acts/framework/acts/utils.py @@ -707,10 +707,10 @@ def set_location_service(ad, new_state): If new_state is False, turn off location service. If new_state if True, set location service to "High accuracy". """ - ad.adb.shell("adb shell content insert --uri " + ad.adb.shell("content insert --uri " " content://com.google.settings/partner --bind " "name:s:network_location_opt_in --bind value:s:1") - ad.adb.shell("adb shell content insert --uri " + ad.adb.shell("content insert --uri " " content://com.google.settings/partner --bind " "name:s:use_location_for_services --bind value:s:1") if new_state: |