Make companion callback calls oneway

These were never meant to be 2way, and are calling application callbacks,
from system server which can potentially take long time.

Thses should not be sensitive to ordering with any other IPCs, so moving them
from 2way to 1way should be safe.

Fixes: 147705675
Test: presubmit
Change-Id: Ie4e8941fba2c8a388697c3a42ad6ef76512eba9f
This commit is contained in:
Eugene Susla
2020-02-12 15:01:48 -08:00
parent be020f681f
commit 5f88b7bee5

View File

@@ -21,6 +21,6 @@ import android.app.PendingIntent;
/** @hide */
interface IFindDeviceCallback {
@UnsupportedAppUsage
void onSuccess(in PendingIntent launcher);
void onFailure(in CharSequence reason);
oneway void onSuccess(in PendingIntent launcher);
oneway void onFailure(in CharSequence reason);
}