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

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

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

* commit '4677e1d9':
  Add early-bail in instant lettering cleanse method.
parents b0fb1f3a 4677e1d9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1884,6 +1884,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);