diff options
author | Sven Gothel <[email protected]> | 2012-05-04 05:32:09 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-05-04 05:32:09 +0200 |
commit | dfe3cf141f9b4748ed3d37db9f18a0e9d8050241 (patch) | |
tree | b5e990b6114612e1d0b75bb5ab234926668ddc90 /src/test/com/jogamp | |
parent | a38f799a0d771e0396df04261c2ab7642480f865 (diff) |
LauncherUtil: Allow no query in URI and no PKG in query (Align w/ GlueGen commit a058e0a2f465a9bff3e32727edb55592f55c7b38)
Diffstat (limited to 'src/test/com/jogamp')
-rw-r--r-- | src/test/com/jogamp/opengl/test/android/LauncherUtil.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/test/com/jogamp/opengl/test/android/LauncherUtil.java b/src/test/com/jogamp/opengl/test/android/LauncherUtil.java index 1f9c26b7b..11416cd67 100644 --- a/src/test/com/jogamp/opengl/test/android/LauncherUtil.java +++ b/src/test/com/jogamp/opengl/test/android/LauncherUtil.java @@ -249,7 +249,7 @@ public class LauncherUtil { } final String q = uri.getQuery(); - final int q_l = q.length(); + final int q_l = null != q ? q.length() : -1; int q_e = -1; while(q_e < q_l) { int q_b = q_e + 1; // next term @@ -293,9 +293,6 @@ public class LauncherUtil { if(null == activityName) { throw new RuntimeException("Activity is not NULL"); } - if(packages.size() == 0) { - throw new RuntimeException("Empty package list"); - } } } |