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

Commit 357b8473 authored by Eric Laurent's avatar Eric Laurent Committed by android-build-merger
Browse files

Merge \\"Fix for wrong ringtone when using VoWiFi\\" am: e3596517

am: 87f033a1

Change-Id: Id9b785217fdbfbbbcbe715a180d1f8c30dcd4673
parents bff5b5a8 87f033a1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -831,7 +831,9 @@ ToneGenerator::ToneGenerator(audio_stream_type_t streamType, float volume, bool
    mProcessSize = (mSamplingRate * 20) / 1000;

    char value[PROPERTY_VALUE_MAX];
    property_get("gsm.operator.iso-country", value, "");
    if (property_get("gsm.operator.iso-country", value, "") == 0) {
        property_get("gsm.sim.operator.iso-country", value, "");
    }
    if (strstr(value, "us") != NULL ||
        strstr(value, "ca") != NULL) {
        mRegion = ANSI;