dont create router.ping file on Android to reduce flash wear

This commit is contained in:
zzz
2012-07-23 23:21:20 +00:00
parent c1181f855a
commit 9823d761d9
2 changed files with 3 additions and 1 deletions

View File

@ -255,7 +255,8 @@ public class Router implements RouterClock.ClockShiftListener {
// ********* Start no threads before here ********* //
//
// 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
// But context.isRouterContext() is even easier...