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

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

Merge "Revert "Added permission check for notifying subscription changed""

parents df5a4fe7 fd857dcc
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -1000,10 +1000,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="
@@ -1030,10 +1026,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="