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