diff --git a/love/src/main/java/org/love2d/android/GameActivity.java b/love/src/main/java/org/love2d/android/GameActivity.java index 45bc04b4..8f48f4f0 100644 --- a/love/src/main/java/org/love2d/android/GameActivity.java +++ b/love/src/main/java/org/love2d/android/GameActivity.java @@ -226,7 +226,7 @@ public class GameActivity extends SDLActivity { try { // If we have a game.love in our assets folder copy it to the cache folder // so that we can load it from native LÖVE code - AssetManager assetManager = getAssetManager(); + AssetManager assetManager = getAssets(); InputStream gameStream = assetManager.open("game.love"); String destination_file = this.getCacheDir().getPath() + "/game.love"; @@ -543,11 +543,6 @@ public class GameActivity extends SDLActivity { return false; } - @Keep - public AssetManager getAssetManager() { - return getResources().getAssets(); - } - @Keep public String[] buildFileTree() { // Map key is path, value is directory flag