forked from I2P_Developers/i2p.i2p
dont create router.ping file on Android to reduce flash wear
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
2012-07-24 zzz
|
2012-07-24 zzz
|
||||||
* LookaheadInputStream: Fix bug causing gunzip fails, esp. on Android
|
* LookaheadInputStream: Fix bug causing gunzip fails, esp. on Android
|
||||||
|
* Router: Don't create router.ping file on Android
|
||||||
* SSLEepGet: Fix on Android (ticket #668)
|
* SSLEepGet: Fix on Android (ticket #668)
|
||||||
|
|
||||||
2012-07-21 zzz
|
2012-07-21 zzz
|
||||||
|
@ -255,7 +255,8 @@ public class Router implements RouterClock.ClockShiftListener {
|
|||||||
// ********* Start no threads before here ********* //
|
// ********* Start no threads before here ********* //
|
||||||
//
|
//
|
||||||
// NOW we can start the ping file thread.
|
// NOW we can start the ping file thread.
|
||||||
beginMarkingLiveliness();
|
if (!System.getProperty("java.vendor").contains("Android"))
|
||||||
|
beginMarkingLiveliness();
|
||||||
|
|
||||||
// Apps may use this as an easy way to determine if they are in the router JVM
|
// Apps may use this as an easy way to determine if they are in the router JVM
|
||||||
// But context.isRouterContext() is even easier...
|
// But context.isRouterContext() is even easier...
|
||||||
|
Reference in New Issue
Block a user