diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-04-08 16:04:59 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-04-08 16:04:59 +0000 |
commit | 64115c50813684e317ea8d9241357b448aed14c1 (patch) | |
tree | 6e700966fbde382cd6f62cb41d45e4fb7190d32a /utils.py | |
parent | 184ff1922b8f712dc949e893b4b42dcf41834902 (diff) | |
parent | 0dbab728fbfcf658bed0ae99eb473b954941e3b4 (diff) | |
download | vndk-64115c50813684e317ea8d9241357b448aed14c1.tar.gz |
Snap for 8426163 from 0dbab728fbfcf658bed0ae99eb473b954941e3b4 to mainline-tzdata2-releaseandroid-mainline-12.0.0_r112aml_tz2_305400500aml_tz2_305400300aml_tz2_305400100aml_tz2_304500300aml_tz2_303900110aml_tz2_303900102aml_tz2_303800002aml_tz2_303800001aml_tz2_303200001android12-mainline-tzdata2-releaseaml_tz2_305400100
Change-Id: Iaf5e49922f5498e0462458abaada5d0f104b6c30
Diffstat (limited to 'utils.py')
-rw-r--r-- | utils.py | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python # # Copyright (C) 2020 The Android Open Source Project # @@ -32,10 +32,7 @@ class AndroidDevice(object): def AdbPull(self, src, dst): cmd = ["adb", "-s", self._serial_number, "pull", src, dst] - env = os.environ.copy() - if "ADB_COMPRESSION" not in env: - env["ADB_COMPRESSION"] = "0" - subprocess.check_call(cmd, shell=False, env=env, stdin=subprocess.PIPE, + subprocess.check_call(cmd, shell=False, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) def Execute(self, *args): |