|
|
6 years ago | |
|---|---|---|
| .. | ||
| aidl | 9 years ago | |
| gradle | 6 years ago | |
| res | 6 years ago | |
| src | 6 years ago | |
| README.md | 6 years ago | |
| gradle.properties | 8 years ago | |
| gradlew | 6 years ago | |
| gradlew.bat | 6 years ago | |
eb57657, 2018) with modificationsOverwrite all files under com/google/android/vending
@@ -338,7 +338,8 @@ public class Base64 {
e += 4;
}
- assert (e == outBuff.length);
+ if (BuildConfig.DEBUG && e != outBuff.length)
+ throw new RuntimeException();
return outBuff;
}
@@ -29,8 +29,8 @@ import android.os.RemoteException;
import android.provider.Settings.Secure;
import android.util.Log;
-import com.android.vending.licensing.ILicenseResultListener;
-import com.android.vending.licensing.ILicensingService;
+import com.google.android.vending.licensing.ILicenseResultListener;
+import com.google.android.vending.licensing.ILicensingService;
import com.google.android.vending.licensing.util.Base64;
import com.google.android.vending.licensing.util.Base64DecoderException;
@@ -287,13 +287,15 @@ public class LicenseChecker implements ServiceConnection {
if (logResponse) {
- String android_id = Secure.getString(mContext.getContentResolver(),
- Secure.ANDROID_ID);
+ String android_id = Secure.ANDROID_ID;
Date date = new Date();