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

Commit e6de81fd authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Fix NPE in SmsManager and keep existing behavior

The behavior of SmsManager#sendTextMessage changed,
we are blocking the sending of the SMS if there were no
subscriptions (i.e. no SIM scenario). This change
accidently introduced a NPE scenario in some cases.

Fixed NPE and removed SMS blocking code in SmsManager
to keep existing functionality the same.

Bug: 127338050
Test: atest GtsTelephonyTestCases
Change-Id: I71eefbc8e1619701e1b1d7b12c3c080c4ef376ef
parent 8bf13f06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment