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

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

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

* commit '15fd9cf0':
  Add early-bail in instant lettering cleanse method.
parents 01456aaa 15fd9cf0
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);