summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJooyung Han <jooyung@google.com>2021-04-28 16:52:43 +0900
committerJooyung Han <jooyung@google.com>2021-04-28 16:52:43 +0900
commit2be7b6311f38a23a8b661c2f60a400397f17f653 (patch)
tree3ec58ebefdb755e9820b6657704d354207583d2e
parentf72d88aedf164ef39e4af38a48d28dcfd5e51632 (diff)
downloadgsid-2be7b6311f38a23a8b661c2f60a400397f17f653.tar.gz
aidl: suppress warnings (mixed-oneway)android-s-beta-2android-s-beta-1
In general, we recommend not to mix oneway methods and non-oneway methods to avoid ambiguity. But this interface explicitly named "oneway" methods with "-Async". Fixes: 179853732 Test: mmma system/gsid Change-Id: Ibb233ebfc4d9ac6a674435d9fe197638af32fcdc
-rw-r--r--aidl/android/gsi/IGsiService.aidl2
1 files changed, 2 insertions, 0 deletions
diff --git a/aidl/android/gsi/IGsiService.aidl b/aidl/android/gsi/IGsiService.aidl
index f706098..c889987 100644
--- a/aidl/android/gsi/IGsiService.aidl
+++ b/aidl/android/gsi/IGsiService.aidl
@@ -90,6 +90,7 @@ interface IGsiService {
* Asynchronous enableGsi
* @param result callback for result
*/
+ @SuppressWarnings(value={"mixed-oneway"})
oneway void enableGsiAsync(boolean oneShot, @utf8InCpp String dsuSlot, IGsiServiceCallback result);
/**
@@ -120,6 +121,7 @@ interface IGsiService {
* Asynchronous removeGsi
* @param result callback for result
*/
+ @SuppressWarnings(value={"mixed-oneway"})
oneway void removeGsiAsync(IGsiServiceCallback result);
/**