mirror of https://github.com/encounter/SDL.git
added comment
This commit is contained in:
parent
3727528eb9
commit
25313c3bb1
|
@ -514,6 +514,8 @@ public class SDLActivity extends Activity {
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue