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

Commit 5716d8ad authored by Karthik Reddy Katta's avatar Karthik Reddy Katta Committed by Gerrit - the friendly Code Review server
Browse files

Phone: Fix for ringtone of slot2 is "none"

-Issue: Ringtone of slot2 is displayed as "none".
-Rootcause: Default ringtone for SIM-2 is not set
 proprely due to URI mismatch.
-Fix: Correct the rintone URI for SIM-2.

Change-Id: Ieea62a2fc6cb97c16abc05ff00d66f38b3cbbfe7
CRs-fixed: 652864
parent f4c9c223
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1010,7 +1010,7 @@ public class MediaScanner
                        int phoneCount = MSimTelephonyManager.getDefault().getPhoneCount();
                        for (int i = MSimConstants.SUB2; i < phoneCount; i++) {
                            // Set the default setting to the given URI for multi SIMs
                            setSettingIfNotSet((Settings.System.RINGTONE + (i+1)), tableUri, rowId);
                            setSettingIfNotSet((Settings.System.RINGTONE + "_" + (i+1)), tableUri, rowId);
                        }
                    }
                    mDefaultRingtoneSet = true;