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
This commit is contained in:
committed by
Android (Google) Code Review
parent
8c56a98cb2
commit
fd857dcc5f
@@ -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="
|
||||
|
||||
Reference in New Issue
Block a user