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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user