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

Commit af94615d authored by Sanket Padawe's avatar Sanket Padawe Committed by The Android Automerger
Browse files

Notify subscriptionInfoChanged in setPlmnSpn even without sim.

Bug: 19476978
Change-Id: I3f87c60f3de2f9e317061466d6c57bca0efc821d
parent 36d48c69
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 = "";