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

Commit c554a89f authored by Scott Mertz's avatar Scott Mertz
Browse files

Telephony: reload sms short code matcher if country code changes

Change-Id: I9e4144bbeb56321262fc616df30c3336681e93cd
parent 1cddbc0f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -444,6 +444,7 @@ public class SmsUsageMonitor {
            if (countryIso != null) {
                if (mCurrentCountry == null || !countryIso.equals(mCurrentCountry) ||
                        mPatternFile.lastModified() != mPatternFileLastModified) {
                    mCurrentPatternMatcher = null;
                    if (mPatternFile.exists()) {
                        if (DBG) Rlog.d(TAG, "Loading SMS Short Code patterns from file");
                        mCurrentPatternMatcher = getPatternMatcherFromFile(countryIso);