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
Loading
Please register or sign in to comment