aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-04-09 04:50:50 +0200
committerSven Gothel <[email protected]>2012-04-09 04:50:50 +0200
commit1ab2108279ede3b646ad2d410fd16368393c174e (patch)
tree4be7216dda794332bed01d61f483917bff1d81ab /src/test
parent3a26aa701b4a1a0991cd997a0d295a1b83cd12f3 (diff)
Android: Cleanup AndroidWindow. NewtBaseActivity: Reset FPSCounter on resume, Sync LauncherUtil
Diffstat (limited to 'src/test')
-rw-r--r--src/test/com/jogamp/opengl/test/android/LauncherUtil.java9
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(); }