commit | f3a68a04fcd2e186ac1c4d19cc337a4659e1696a | [log] [tgz] |
---|---|---|
author | Haotien Hsu <haotienh@nvidia.com> | Mon May 08 18:46:14 2023 +0800 |
committer | Android Build Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Thu Jun 22 20:15:45 2023 +0000 |
tree | 7cd4600caeb527cc34458de617519adbb66f0c08 | |
parent | 55baee93d61d7b4955af2ac9420f56d613edd163 [diff] |
Test: Don't check results when no type-c ports For those devices without type-c ports, the queryPortStatus test is always failed.Because there are no PortStatus for the callbacks. Adding an additional condition branch to skip the results checking when there are no PortStatus. Bug: 281643316 (https://partnerissuetracker.corp.google.com/issues/281643316) Signed-off-by: Haotien Hsu <haotienh@nvidia.com> (cherry picked from https://android-review.googlesource.com/q/commit:392d530a649b709187fe8bf53512ef234051662f) Merged-In: Ibf599038b542d5d81a2af9ab2097f2f868be0447 Change-Id: Ibf599038b542d5d81a2af9ab2097f2f868be0447