diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-03 15:58:30 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-03 15:58:30 +0000 |
commit | a389d80940d061a681dd8ecf319624e2bf0ad6ee (patch) | |
tree | e9924b64a83621683f9ae9bef6a67193a16edc15 | |
parent | 18a337275de05d9b293b7cf99c8e32dfd53bb174 (diff) | |
parent | 67f52a94bc5be6422960deff86e130794b8095e2 (diff) | |
download | voip-android14-mainline-adbd-release.tar.gz |
Snap for 10428683 from 67f52a94bc5be6422960deff86e130794b8095e2 to mainline-adbd-releaseaml_adb_341520010aml_adb_341517070aml_adb_340912530aml_adb_340912350aml_adb_340912200aml_adb_340912000android14-mainline-adbd-release
Change-Id: I9883870e84f275c862b78c76951dc31593183b65
-rw-r--r-- | src/java/android/net/sip/SipAudioCall.java | 4 | ||||
-rw-r--r-- | src/java/com/android/server/sip/SipWakeupTimer.java | 2 | ||||
-rw-r--r-- | src/jni/rtp/AudioGroup.cpp | 7 |
3 files changed, 6 insertions, 7 deletions
diff --git a/src/java/android/net/sip/SipAudioCall.java b/src/java/android/net/sip/SipAudioCall.java index 4d70017..9894056 100644 --- a/src/java/android/net/sip/SipAudioCall.java +++ b/src/java/android/net/sip/SipAudioCall.java @@ -61,14 +61,14 @@ import java.net.UnknownHostException; */ public class SipAudioCall { private static final String LOG_TAG = SipAudioCall.class.getSimpleName(); - private static final boolean DBG = true; + private static final boolean DBG = false; private static final boolean RELEASE_SOCKET = true; private static final boolean DONT_RELEASE_SOCKET = false; private static final int SESSION_TIMEOUT = 5; // in seconds private static final int TRANSFER_TIMEOUT = 15; // in seconds /** Listener for events relating to a SIP call, such as when a call is being - * recieved ("on ringing") or a call is outgoing ("on calling"). + * received ("on ringing") or a call is outgoing ("on calling"). * <p>Many of these events are also received by {@link SipSession.Listener}.</p> */ public static class Listener { diff --git a/src/java/com/android/server/sip/SipWakeupTimer.java b/src/java/com/android/server/sip/SipWakeupTimer.java index 8122070..7ec8689 100644 --- a/src/java/com/android/server/sip/SipWakeupTimer.java +++ b/src/java/com/android/server/sip/SipWakeupTimer.java @@ -55,7 +55,7 @@ class SipWakeupTimer extends BroadcastReceiver { context.getSystemService(Context.ALARM_SERVICE); IntentFilter filter = new IntentFilter(getAction()); - context.registerReceiver(this, filter); + context.registerReceiver(this, filter, Context.RECEIVER_EXPORTED_UNAUDITED); mExecutor = executor; } diff --git a/src/jni/rtp/AudioGroup.cpp b/src/jni/rtp/AudioGroup.cpp index eb3b18f..08e8933 100644 --- a/src/jni/rtp/AudioGroup.cpp +++ b/src/jni/rtp/AudioGroup.cpp @@ -855,10 +855,9 @@ bool AudioGroup::DeviceThread::threadLoop() if (mGroup->platformHasAec()) { aec = new AudioEffect(mGroup->mAttributionSource); aec->set(FX_IID_AEC, - NULL, - 0, - 0, - 0, + nullptr, // uid + 0, // priority + nullptr, // callback record->getSessionId(), AUDIO_IO_HANDLE_NONE); // record sessionId is sufficient. status_t status = aec->initCheck(); |