added comment apk
authorstopiccot <alexey.petruchik@gmail.com>
Wed, 30 Apr 2014 23:05:05 +0300
branchapk
changeset 8899 7f19291e720c
parent 8898 0f1bfc218f62
child 8900 537445b25e4e
child 8901 43b742ab3deb
added comment
android-project/src/org/libsdl/app/SDLActivity.java
--- a/android-project/src/org/libsdl/app/SDLActivity.java	Wed Apr 30 22:51:29 2014 +0300
+++ b/android-project/src/org/libsdl/app/SDLActivity.java	Wed Apr 30 23:05:05 2014 +0300
@@ -514,6 +514,8 @@
             Integer patchVersion = Integer.parseInt(nativeGetHint("SDL_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION"));
 
             try {
+                // To avoid direct dependency on Google APK extension library that is
+                // not a part of Android SDK we access it using reflection
                 expansionFile = Class.forName("com.android.vending.expansion.zipfile.APKExpansionSupport")
                     .getMethod("getAPKExpansionZipFile", Context.class, int.class, int.class)
                     .invoke(null, this, mainVersion, patchVersion);