]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
protocol: Correct gbinder protocol version for API 33
authorAlessandro Astone <ales.astone@gmail.com>
Thu, 23 Jan 2025 19:06:06 +0000 (20:06 +0100)
committerAlessandro Astone <ales.astone@gmail.com>
Thu, 23 Jan 2025 19:06:11 +0000 (20:06 +0100)
This is now working correctly with libgbinder 1.1.42

tools/helpers/protocol.py

index 80a183436a44df1312e22a54d527ec9fce968fb6..285fa5f7cd78faf07d68d20380cf345e6c08b284 100644 (file)
@@ -22,9 +22,12 @@ def set_aidl_version(args):
     elif android_api < 31:
         binder_protocol = "aidl3"
         sm_protocol =     "aidl3"
+    elif android_api < 33:
+        binder_protocol = "aidl4"
+        sm_protocol = "aidl3"
     else:
         binder_protocol = "aidl3"
-        sm_protocol =     "aidl4"
+        sm_protocol =     "aidl3"
 
     cfg["waydroid"]["binder_protocol"] = binder_protocol
     cfg["waydroid"]["service_manager_protocol"] = sm_protocol