forked from I2P_Developers/i2p.i2p
Util: Assume the OSX M1 is not slow
This commit is contained in:
@@ -80,7 +80,8 @@ public abstract class SystemVersion {
|
|||||||
(DAEMON_USER.equals(System.getProperty("user.name")) ||
|
(DAEMON_USER.equals(System.getProperty("user.name")) ||
|
||||||
(_isGentoo && GENTOO_USER.equals(System.getProperty("user.name"))));
|
(_isGentoo && GENTOO_USER.equals(System.getProperty("user.name"))));
|
||||||
_isService = _isLinuxService || _isWindowsService;
|
_isService = _isLinuxService || _isWindowsService;
|
||||||
_isSlow = _isAndroid || _isApache || _isArm || _isGNU || _isZero || getMaxMemory() < 48*1024*1024L;
|
// we assume the Apple M1 is not slow, however isSlow() below will still return true until we have a jbigi
|
||||||
|
_isSlow = _isAndroid || _isApache || (_isArm && !_isMac) || _isGNU || _isZero || getMaxMemory() < 48*1024*1024L;
|
||||||
|
|
||||||
int sdk = 0;
|
int sdk = 0;
|
||||||
if (_isAndroid) {
|
if (_isAndroid) {
|
||||||
|
Reference in New Issue
Block a user