Commit 40364541f5e7a7179a17e969f928615732fec159

Philipp Wiesemann 2015-09-18T21:26:28

Android: Improved last error message for failed APK expansion file use.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/android-project/src/org/libsdl/app/SDLActivity.java b/android-project/src/org/libsdl/app/SDLActivity.java
index f2a42dd..9b733cf 100644
--- a/android-project/src/org/libsdl/app/SDLActivity.java
+++ b/android-project/src/org/libsdl/app/SDLActivity.java
@@ -742,7 +742,7 @@ public class SDLActivity extends Activity {
 
         if (fileStream == null) {
             // calling "getInputStream" was successful but null was returned
-            throw new IOException("Could not open stream from APK expansion file");
+            throw new IOException("Could not find path in APK expansion file");
         }
 
         return fileStream;