Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90cfc947 authored by Arthur Ishiguro's avatar Arthur Ishiguro
Browse files

Mark endpoint callbackFinished APIs to be oneway

Since we don't care about the ordering of the calls, they can be marked as oneway.

Bug: 395656534
Flag: android.chre.flags.offload_implementation
Test: Endpoint tests pass
Change-Id: I0ae6d6797bfc3184b26b6e9de31995fc18959bcb
parent 264e6fd6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -99,5 +99,5 @@ interface IContextHubEndpoint {
     * Invoked when a callback from IContextHubEndpointCallback finishes.
     */
    @EnforcePermission("ACCESS_CONTEXT_HUB")
    void onCallbackFinished();
    oneway void onCallbackFinished();
}
+1 −1
Original line number Diff line number Diff line
@@ -153,5 +153,5 @@ interface IContextHubService {

    // Called when a discovery callback is finished executing
    @EnforcePermission("ACCESS_CONTEXT_HUB")
    void onDiscoveryCallbackFinished();
    oneway void onDiscoveryCallbackFinished();
}