Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9ec40cb authored by Jiyong Park's avatar Jiyong Park Committed by android-build-merger
Browse files

Fix incorrect sysprop name

am: 96ad71a9

Change-Id: Ia9b2c61281e86637f51c52365b9eb0db5cad0c1b
parents ed1679fa 96ad71a9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1118,7 +1118,9 @@ void *platform_init(struct audio_device *adev)
    my_data->fluence_type = FLUENCE_NONE;
    my_data->fluence_mode = FLUENCE_ENDFIRE;

    if (property_get("ro.vendor.audio.sdk.fluencetype", my_data->fluence_cap, NULL) == 0) {
        property_get("ro.qc.sdk.audio.fluencetype", my_data->fluence_cap, "");
    }
    if (!strncmp("fluencepro", my_data->fluence_cap, sizeof("fluencepro"))) {
        my_data->fluence_type = FLUENCE_QUAD_MIC | FLUENCE_DUAL_MIC;
    } else if (!strncmp("fluence", my_data->fluence_cap, sizeof("fluence"))) {
+3 −1
Original line number Diff line number Diff line
@@ -1805,7 +1805,9 @@ void *platform_init(struct audio_device *adev)
    my_data->fluence_in_voice_comm = false;
    my_data->fluence_in_voice_rec = false;

    if (property_get("ro.vendor.audio.sdk.fluencetype", value, NULL) == 0) {
        property_get("ro.qc.sdk.audio.fluencetype", value, "none");
    }
    if (!strcmp("fluencepro", value)) {
        my_data->fluence_type = FLUENCE_PRO_ENABLE;
    } else if (!strcmp("fluence", value) || (dual_mic_config)) {