add hasWrapper()

This commit is contained in:
zzz committed 2012-10-03 17:41:33 +00:00
1 parent d2c1641569
commit 13ef00cb2e
1 file changed
+8
@@ -84,4 +84,12 @@ public abstract class SystemVersion {
public static int getAndroidVersion() {
return _androidSDK;
}
/**
* Is the wrapper present?
* Same as I2PAppContext.hasWrapper()
*/
public static boolean hasWrapper() {
return System.getProperty("wrapper.version") != null;
}
}