mirror of
https://github.com/love2d/love-android.git
synced 2026-08-12 08:31:04 +02:00
Remove redundant GameActivity.getAssetManager()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user