Ivan Ponomarev 288ff2fd08 Android: Fixed a possible crash in keyboard hide method. It's called not from main thread so InputMethodManager can't be used directly. 6 tahun lalu
..
aidl 401622cc22 -Removed ANT build system for Android, as it was deprecated by Google 9 tahun lalu
gradle b385a4b053 Fix lint error/warning while building android template 6 tahun lalu
res b385a4b053 Fix lint error/warning while building android template 6 tahun lalu
src 288ff2fd08 Android: Fixed a possible crash in keyboard hide method. It's called not from main thread so InputMethodManager can't be used directly. 6 tahun lalu
README.md b385a4b053 Fix lint error/warning while building android template 6 tahun lalu
gradle.properties 0d8556a7f0 update gradle-android buildtool for master 8 tahun lalu
gradlew b385a4b053 Fix lint error/warning while building android template 6 tahun lalu
gradlew.bat b385a4b053 Fix lint error/warning while building android template 6 tahun lalu

README.md

Third party libraries

Google's vending library

Overwrite all files under com/google/android/vending

Modify some files to avoid compile error and lint warning

com/google/android/vending/licensing/util/Base64.java

@@ -338,7 +338,8 @@ public class Base64 {
                        e += 4;
                }
 
-               assert (e == outBuff.length);
+               if (BuildConfig.DEBUG && e != outBuff.length)
+                       throw new RuntimeException();
                return outBuff;
        }

com/google/android/vending/licensing/LicenseChecker.java

@@ -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();