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
This commit is contained in:
Brad Ebinger
2017-07-27 12:57:03 -07:00
parent a0c97b3ddb
commit 0f4db7d193
5 changed files with 5 additions and 5 deletions

View File

@@ -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).
*/

View File

@@ -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.
*/

View File

@@ -23,7 +23,7 @@ import com.android.ims.ImsExternalCallState;
*
* {@hide}
*/
interface IImsExternalCallStateListener {
oneway interface IImsExternalCallStateListener {
/**
* Notifies client when Dialog Event Package update is received

View File

@@ -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.
*

View File

@@ -26,7 +26,7 @@ import com.android.ims.ImsReasonInfo;
/**
* {@hide}
*/
interface IImsUtListener {
oneway interface IImsUtListener {
/**
* Notifies the result of the supplementary service configuration udpate.
*/