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

Commit 15fd9cf0 authored by Tyler Gunn's avatar Tyler Gunn Committed by Android Git Automerger
Browse files

am aa81b503: am 4677e1d9: Add early-bail in instant lettering cleanse method.

* commit 'aa81b503':
  Add early-bail in instant lettering cleanse method.
parents a0ac8316 aa81b503
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1837,6 +1837,10 @@ public final class ImsPhoneCallTracker extends CallTracker {
     * @return The call subject with invalid characters removed and escaping applied as required.
     */
    private String cleanseInstantLetteringMessage(String callSubject) {
        if (TextUtils.isEmpty(callSubject)) {
            return callSubject;
        }

        // Get the carrier config for the current sub.
        CarrierConfigManager configMgr = (CarrierConfigManager)
                mPhone.getContext().getSystemService(Context.CARRIER_CONFIG_SERVICE);