diff options
author | Sven Gothel <[email protected]> | 2012-04-09 04:50:50 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-04-09 04:50:50 +0200 |
commit | 1ab2108279ede3b646ad2d410fd16368393c174e (patch) | |
tree | 4be7216dda794332bed01d61f483917bff1d81ab /src/test/com | |
parent | 3a26aa701b4a1a0991cd997a0d295a1b83cd12f3 (diff) |
Android: Cleanup AndroidWindow. NewtBaseActivity: Reset FPSCounter on resume, Sync LauncherUtil
Diffstat (limited to 'src/test/com')
-rw-r--r-- | src/test/com/jogamp/opengl/test/android/LauncherUtil.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/com/jogamp/opengl/test/android/LauncherUtil.java b/src/test/com/jogamp/opengl/test/android/LauncherUtil.java index f1f36589d..1f9c26b7b 100644 --- a/src/test/com/jogamp/opengl/test/android/LauncherUtil.java +++ b/src/test/com/jogamp/opengl/test/android/LauncherUtil.java @@ -150,6 +150,12 @@ public class LauncherUtil { System.setProperty(key, map.get(key)); } } + public final void clearSystemProperties() { + Iterator<String> argKeys = keyList.iterator(); + while(argKeys.hasNext()) { + System.clearProperty(argKeys.next()); + } + } public final String getProperty(String key) { return map.get(key); } public final Map<String, String> getProperties() { return map; } @@ -190,6 +196,9 @@ public class LauncherUtil { public final void setSystemProperties() { properties.setSystemProperties(); } + public final void clearSystemProperties() { + properties.clearSystemProperties(); + } public final String getProperty(String key) { return properties.getProperty(key); } public final OrderedProperties getProperties() { return properties; } public final List<String> getPropertyKeys() { return properties.getPropertyKeys(); } |