Merge "Codec2: Refresh proxy on transaction failure" into rvc-dev am: d727f80a88 am: e245fdafb5 am: 7cb737c89b
Change-Id: I8d11488c76555c1e9d32fec170356d8758d6c500
diff --git a/media/codec2/hidl/client/client.cpp b/media/codec2/hidl/client/client.cpp
index 0acab49..7e4352d 100644
--- a/media/codec2/hidl/client/client.cpp
+++ b/media/codec2/hidl/client/client.cpp
@@ -219,6 +219,7 @@
if (success) {
break;
}
+ invalidate();
using namespace std::chrono_literals;
static constexpr auto kServiceRetryPeriod = 5s;
LOG(INFO) << "Failed to retrieve component traits from service "