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

Commit fd857dcc authored by Aishwarya Mallampati's avatar Aishwarya Mallampati Committed by Android (Google) Code Review
Browse files

Revert "Added permission check for notifying subscription changed"

Revert submission 20813798-smsvc_bootup

Reason for revert: b/263772382

Reverted changes: /q/submissionid:20813798-smsvc_bootup

Change-Id: Id944cc1d6b66bea76dec6b35869ee29bf362cfba
parent 8c56a98c
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -1002,10 +1002,6 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub {
    @Override
    public void notifySubscriptionInfoChanged() {
        if (VDBG) log("notifySubscriptionInfoChanged:");
        if (!checkNotifyPermission("notifySubscriptionInfoChanged()")) {
            return;
        }

        synchronized (mRecords) {
            if (!mHasNotifySubscriptionInfoChangedOccurred) {
                log("notifySubscriptionInfoChanged: first invocation mRecords.size="
@@ -1032,10 +1028,6 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub {
    @Override
    public void notifyOpportunisticSubscriptionInfoChanged() {
        if (VDBG) log("notifyOpptSubscriptionInfoChanged:");
        if (!checkNotifyPermission("notifyOpportunisticSubscriptionInfoChanged()")) {
            return;
        }

        synchronized (mRecords) {
            if (!mHasNotifyOpportunisticSubscriptionInfoChangedOccurred) {
                log("notifyOpptSubscriptionInfoChanged: first invocation mRecords.size="