commit | 42ce23fd8dc84cd86b4346c6ba5db6035328130e | [log] [tgz] |
---|---|---|
author | Julien Desprez <jdesprez@google.com> | Thu May 07 10:53:42 2020 -0700 |
committer | Julien Desprez <jdesprez@google.com> | Thu May 07 10:53:42 2020 -0700 |
tree | 7176415148bb5845431a577cd2cd5f26e964115a | |
parent | 091275a159b023204a8795f898c0f6d9d0ef23a3 [diff] |
Mark exception as not for device side for better logging Do not include the device info on the exception message since it relates to the host. Test: unit tests Bug: 155887289 Change-Id: If4d1a388cafe4a75dbcb2415ec1de290da0ee9fb
diff --git a/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/MediaPreparer.java b/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/MediaPreparer.java index e387472..c65618a 100644 --- a/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/MediaPreparer.java +++ b/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/MediaPreparer.java
@@ -303,7 +303,8 @@ + " These media files are required for compatibility tests.", mediaFolderZip), e, - device.getDeviceDescriptor()); + device.getDeviceDescriptor(), + /* device side */ false); } finally { FileUtil.deleteFile(mediaFolderZip); }