Fix force setting environment variable error am: b3d5fef7c2
am: be10911bd4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3081420 Change-Id: Ia9b1e226155a5e5f49336d2a13c8880061c82a2d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
e0e9887b79
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