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

Commit 5405d4aa authored by Sanket Padawe's avatar Sanket Padawe Committed by Android Git Automerger
Browse files

am dcd47586: am 656905ee: Notify subscriptionInfoChanged in setPlmnSpn even without sim.

* commit 'dcd47586':
  Notify subscriptionInfoChanged in setPlmnSpn even without sim.
parents 6273c072 dcd47586
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -728,9 +728,12 @@ public class SubscriptionController extends ISub.Stub {
                    SubscriptionManager.CONTENT_URI.getAuthority(), 0) == null ||
                    subIds == null ||
                    !SubscriptionManager.isValidSubscriptionId(subIds[0])) {
                // No place to store this info, we are done.
                // No place to store this info. Notify registrants of the change anyway as they
                // might retrieve the SPN/PLMN text from the SST sticky broadcast.
                // TODO: This can be removed once SubscriptionController is not running on devices
                // that don't need it, such as TVs.
                if (DBG) logd("[setPlmnSpn] No valid subscription to store info");
                notifySubscriptionInfoChanged();
                return false;
            }
            String carrierText = "";