I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 13ef00cb authored by zzz's avatar zzz
Browse files

add hasWrapper()

parent d2c16415
No related branches found
No related tags found
No related merge requests found
...@@ -84,4 +84,12 @@ public abstract class SystemVersion { ...@@ -84,4 +84,12 @@ public abstract class SystemVersion {
public static int getAndroidVersion() { public static int getAndroidVersion() {
return _androidSDK; return _androidSDK;
} }
/**
* Is the wrapper present?
* Same as I2PAppContext.hasWrapper()
*/
public static boolean hasWrapper() {
return System.getProperty("wrapper.version") != null;
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment