]> glassweightruler.freedombox.rocks Git - waydroid.git/blobdiff - tools/helpers/protocol.py
protocol: Correct gbinder protocol version for API 33
[waydroid.git] / 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