From ceaa05c317596afcb9526fe9049be230d0322508 Mon Sep 17 00:00:00 2001 From: zilmar Date: Thu, 23 Nov 2023 18:37:55 +1030 Subject: [PATCH] Android: Change how PACKAGE_DIRECTORY is retrieved --- Android/app/src/main/java/emu/project64/AndroidDevice.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Android/app/src/main/java/emu/project64/AndroidDevice.java b/Android/app/src/main/java/emu/project64/AndroidDevice.java index 1828f2947..06bcd5af6 100644 --- a/Android/app/src/main/java/emu/project64/AndroidDevice.java +++ b/Android/app/src/main/java/emu/project64/AndroidDevice.java @@ -43,7 +43,7 @@ public class AndroidDevice public static final boolean IS_LOLLIPOP = Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP; public final static String EXTERNAL_PUBLIC_DIRECTORY = Environment.getExternalStorageDirectory().getPath(); - public final static String PACKAGE_DIRECTORY = EXTERNAL_PUBLIC_DIRECTORY + "/Android/data/" + AndroidDevice.class.getPackage().getName(); + public final static String PACKAGE_DIRECTORY = Project64Application.getAppContext().getExternalFilesDir(null).getAbsolutePath(); public static final boolean IS_ACTION_BAR_AVAILABLE = AndroidDevice.IS_HONEYCOMB;