mirror of
https://github.com/yurisieucuti/treble_evolution.git
synced 2024-11-14 10:17:02 +00:00
28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
From 669dc10ff7e3e348817b05df8266c6f6fc8cab58 Mon Sep 17 00:00:00 2001
|
|
From: Pierre-Hugues Husson <phh@phh.me>
|
|
Date: Sun, 28 Mar 2021 18:54:47 +0200
|
|
Subject: [PATCH 15/25] Not all sources in a route are valid. Dont ignore the
|
|
whole route because of one broken source
|
|
|
|
Change-Id: If8a51740e71bef3a4738262ad7b43a337b0ec36d
|
|
---
|
|
.../audiopolicy/common/managerdefinitions/src/Serializer.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/services/audiopolicy/common/managerdefinitions/src/Serializer.cpp b/services/audiopolicy/common/managerdefinitions/src/Serializer.cpp
|
|
index 6ee076660b..146c78b8f6 100644
|
|
--- a/services/audiopolicy/common/managerdefinitions/src/Serializer.cpp
|
|
+++ b/services/audiopolicy/common/managerdefinitions/src/Serializer.cpp
|
|
@@ -670,7 +670,7 @@ std::variant<status_t, RouteTraits::Element> PolicySerializer::deserialize<Route
|
|
source = ctx->findPortByTagName(trim(devTag));
|
|
}
|
|
if (source == NULL) {
|
|
- if (!mIgnoreVendorExtensions) {
|
|
+ if (false && !mIgnoreVendorExtensions) {
|
|
ALOGE("%s: no source found with name \"%s\"", __func__, devTag);
|
|
return BAD_VALUE;
|
|
} else {
|
|
--
|
|
2.25.1
|
|
|