add hasWrapper()

This commit is contained in:
zzz
2012-10-03 17:41:33 +00:00
parent d2c1641569
commit 13ef00cb2e

View File

@ -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;
}
}