From 0f4db7d19393aa8d767b7bf52fa15fca655bbb11 Mon Sep 17 00:00:00 2001 From: Brad Ebinger Date: Thu, 27 Jul 2017 12:57:03 -0700 Subject: [PATCH] Change IMS callback AIDLs to be oneway A bad behaving service was causing the IMS registration callbacks to block indefinetly waiting for the callback binder implementation in another process to finish. Since we update the IMS registration in a loop, we were never getting to the updates for the other processes. This change moves the AIDL definition to oneway. Since these are callback AIDLs, the caller doesn't need to wait for the callbacks to return before sending the others. Bug: 63137625 Test: Manual Merged-In: I0e049166ddf3604d312748b63a94fa6ebe77c29d Change-Id: Id39b6b70aa20bb9986bf293abe2f9e683da4252e --- .../java/com/android/ims/internal/IImsCallSessionListener.aidl | 2 +- telephony/java/com/android/ims/internal/IImsEcbmListener.aidl | 2 +- .../com/android/ims/internal/IImsExternalCallStateListener.aidl | 2 +- .../java/com/android/ims/internal/IImsRegistrationListener.aidl | 2 +- telephony/java/com/android/ims/internal/IImsUtListener.aidl | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl b/telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl index ad59c1d84794b..49d596033cb35 100644 --- a/telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl +++ b/telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl @@ -29,7 +29,7 @@ import com.android.ims.ImsSuppServiceNotification; * by having one of the methods called on the {@link IImsCallSessionListener}. * {@hide} */ -interface IImsCallSessionListener { +oneway interface IImsCallSessionListener { /** * Notifies the result of the basic session operation (setup / terminate). */ diff --git a/telephony/java/com/android/ims/internal/IImsEcbmListener.aidl b/telephony/java/com/android/ims/internal/IImsEcbmListener.aidl index d866ecbdd317b..6066f49153751 100644 --- a/telephony/java/com/android/ims/internal/IImsEcbmListener.aidl +++ b/telephony/java/com/android/ims/internal/IImsEcbmListener.aidl @@ -35,7 +35,7 @@ package com.android.ims.internal; * * {@hide} */ -interface IImsEcbmListener { +oneway interface IImsEcbmListener { /** * Notifies the application when the device enters Emergency Callback Mode. */ diff --git a/telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl b/telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl index 27b8fa1741715..16219671cea58 100644 --- a/telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl +++ b/telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl @@ -23,7 +23,7 @@ import com.android.ims.ImsExternalCallState; * * {@hide} */ -interface IImsExternalCallStateListener { +oneway interface IImsExternalCallStateListener { /** * Notifies client when Dialog Event Package update is received diff --git a/telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl b/telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl index 98f8e0a207c29..15f872603bfb3 100644 --- a/telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl +++ b/telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl @@ -26,7 +26,7 @@ import android.net.Uri; * * {@hide} */ -interface IImsRegistrationListener { +oneway interface IImsRegistrationListener { /** * Notifies the application when the device is connected to the IMS network. * diff --git a/telephony/java/com/android/ims/internal/IImsUtListener.aidl b/telephony/java/com/android/ims/internal/IImsUtListener.aidl index 641663109fad2..300273a7bd386 100644 --- a/telephony/java/com/android/ims/internal/IImsUtListener.aidl +++ b/telephony/java/com/android/ims/internal/IImsUtListener.aidl @@ -26,7 +26,7 @@ import com.android.ims.ImsReasonInfo; /** * {@hide} */ -interface IImsUtListener { +oneway interface IImsUtListener { /** * Notifies the result of the supplementary service configuration udpate. */