From 611d933de90f3feb000aadb4964d37f474cf3a83 Mon Sep 17 00:00:00 2001 From: Fynn Godau Date: Mon, 6 Oct 2025 18:38:13 +0200 Subject: [PATCH] Fix v2 licensing --- .../aidl/com/android/vending/licensing/ILicensingService.aidl | 2 +- .../java/com/android/vending/licensing/LicensingService.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vending-app/src/main/aidl/com/android/vending/licensing/ILicensingService.aidl b/vending-app/src/main/aidl/com/android/vending/licensing/ILicensingService.aidl index f1de0b6dba..7459661588 100644 --- a/vending-app/src/main/aidl/com/android/vending/licensing/ILicensingService.aidl +++ b/vending-app/src/main/aidl/com/android/vending/licensing/ILicensingService.aidl @@ -11,6 +11,6 @@ import com.android.vending.licensing.ILicenseV2ResultListener; interface ILicensingService { oneway void checkLicense(long nonce, String packageName, ILicenseResultListener listener); - oneway void checkLicenseV2(String packageName, ILicenseV2ResultListener listener, in Bundle extraParams); + oneway void checkLicenseV2(String packageName, ILicenseV2ResultListener listener, int unknown); } \ No newline at end of file diff --git a/vending-app/src/main/java/com/android/vending/licensing/LicensingService.kt b/vending-app/src/main/java/com/android/vending/licensing/LicensingService.kt index a0df9f3988..89315f4c86 100644 --- a/vending-app/src/main/java/com/android/vending/licensing/LicensingService.kt +++ b/vending-app/src/main/java/com/android/vending/licensing/LicensingService.kt @@ -58,9 +58,9 @@ class LicensingService : Service() { override fun checkLicenseV2( packageName: String, listener: ILicenseV2ResultListener, - extraParams: Bundle + unknown: Int ): Unit = runBlocking { - Log.v(TAG, "checkLicenseV2($packageName, $extraParams)") + Log.v(TAG, "checkLicenseV2($packageName, $unknown)") val response = checkLicenseCommon(packageName, V2Parameters)