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

Commit 99c2e47e authored by Fynn Godau's avatar Fynn Godau Committed by Jonathan Klee
Browse files

Fix v2 licensing

parent b262aaec
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+2 −2
Original line number Diff line number Diff line
@@ -59,9 +59,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)