summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-05-14 21:58:00 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-05-14 21:58:00 +0000
commit6ff873c80e8235b33692e5792b066de3895b84d2 (patch)
tree95e808b9683dcb889208e11506948482685941a4
parentf4631696248a51c8895060771176e0c1e4b036f2 (diff)
parentf08b2f1a3c0ad631d99480a98969ee198f8caf88 (diff)
downloadvoip-android-security-11.0.0_r63.tar.gz
Change-Id: I331c3c81aaa98291460b4eccef3ff4b1ea4a72a3
-rw-r--r--src/java/com/android/server/sip/SipService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/android/server/sip/SipService.java b/src/java/com/android/server/sip/SipService.java
index ca91943..c68508b 100644
--- a/src/java/com/android/server/sip/SipService.java
+++ b/src/java/com/android/server/sip/SipService.java
@@ -344,7 +344,7 @@ public final class SipService extends ISipService.Stub {
if (DBG) log("notify: profile added: " + localProfile);
Intent intent = new Intent(SipManager.ACTION_SIP_ADD_PHONE);
intent.putExtra(SipManager.EXTRA_LOCAL_URI, localProfile.getUriString());
- mContext.sendBroadcast(intent);
+ mContext.sendBroadcast(intent, android.Manifest.permission.USE_SIP);
if (mSipGroups.size() == 1) {
registerReceivers();
}
@@ -354,7 +354,7 @@ public final class SipService extends ISipService.Stub {
if (DBG) log("notify: profile removed: " + localProfile);
Intent intent = new Intent(SipManager.ACTION_SIP_REMOVE_PROFILE);
intent.putExtra(SipManager.EXTRA_LOCAL_URI, localProfile.getUriString());
- mContext.sendBroadcast(intent);
+ mContext.sendBroadcast(intent, android.Manifest.permission.USE_SIP);
if (mSipGroups.size() == 0) {
unregisterReceivers();
}