You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
SoundPool: explicitly extract soundfile asset
With the recent changes assets are no longer extracted by default
This commit is contained in:
@@ -610,7 +610,7 @@ public final class AssetManager {
|
||||
return cookies;
|
||||
}
|
||||
|
||||
private static void extractFromAPK(String path, String target) throws IOException {
|
||||
public static void extractFromAPK(String path, String target) throws IOException {
|
||||
if (path.endsWith("/")) { // directory
|
||||
try (JarFile apk = new JarFile(Context.this_application.getPackageCodePath())) {
|
||||
Enumeration<JarEntry> entries = apk.entries();
|
||||
|
||||
Reference in New Issue
Block a user