diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2021-05-14 21:57:21 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2021-05-14 21:57:21 +0000 |
commit | e6ecd44d08766c9b7e7db5f65c1698a72ba00938 (patch) | |
tree | 791bbd6812bac49fe2d2f0abae44d7adc411289b | |
parent | 78a7feeb2601037bba61aec5f24302896dace6bc (diff) | |
parent | bcab0b0d06f5ba961c7106ac5f0788e003383abc (diff) | |
download | voip-oreo-mr1-security-release.tar.gz |
Merge cherrypicks of [14554374, 14554375, 14554376, 14554377, 14554421, 14554378, 14554522, 14554523, 14554381, 14554563, 14554564, 14554566, 14554568, 14554570, 14554571, 14554573, 14554526, 14554576] into security-aosp-oc-mr1-releaseandroid-security-8.1.0_r93android-security-8.1.0_r92android-security-8.1.0_r91android-security-8.1.0_r90oreo-mr1-security-release
Change-Id: Ibf8564aca063acb31ef5ee7ff50d0ec00a8c4801
-rw-r--r-- | src/java/com/android/server/sip/SipService.java | 4 |
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 d14a8d6..5328801 100644 --- a/src/java/com/android/server/sip/SipService.java +++ b/src/java/com/android/server/sip/SipService.java @@ -342,7 +342,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(); } @@ -352,7 +352,7 @@ public final class SipService extends ISipService.Stub { if (DBG) log("notify: profile removed: " + localProfile); Intent intent = new Intent(SipManager.ACTION_SIP_REMOVE_PHONE); intent.putExtra(SipManager.EXTRA_LOCAL_URI, localProfile.getUriString()); - mContext.sendBroadcast(intent); + mContext.sendBroadcast(intent, android.Manifest.permission.USE_SIP); if (mSipGroups.size() == 0) { unregisterReceivers(); } |