Fix force setting environment variable error am: b3d5fef7c2
am: be10911bd4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3081420 Change-Id: Icb7f65ef86714a7aa48ff7cc5404ac4dc52d9fe9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
44ad15bd42
1 changed files with 1 additions and 5 deletions
|
@ -31,11 +31,7 @@ namespace {
|
|||
|
||||
bool initConfiguration() {
|
||||
std::array<char, PROPERTY_VALUE_MAX> variant;
|
||||
auto res = property_get("ro.vendor.vts_tuner_configuration_variant", variant.data(), "");
|
||||
if (res <= 0) {
|
||||
ALOGE("[vts] failed to read system property ro.vendor.vts_tuner_configuration_variant");
|
||||
return false;
|
||||
}
|
||||
property_get("ro.vendor.vts_tuner_configuration_variant", variant.data(), "");
|
||||
string configFilePath = "/vendor/etc/tuner_vts_config_aidl_V1";
|
||||
if (variant.size() != 0) {
|
||||
configFilePath = configFilePath + "." + variant.data();
|
||||
|
|
Loading…
Reference in a new issue