Merge "Revert "Added permission check for notifying subscription changed""
This commit is contained in:
committed by
Android (Google) Code Review
commit
e2898682cc
@@ -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="
|
||||
|
||||
Reference in New Issue
Block a user