Router: Don't check config files for reload on Android

This commit is contained in:
zzz
2015-10-02 13:43:54 +00:00
parent 5fa059b4a8
commit b068f9a262
2 changed files with 10 additions and 4 deletions

View File

@@ -67,10 +67,12 @@ abstract class LogWriterBase implements Runnable {
public void run() {
_write = true;
// don't bother on Android
final boolean shouldReadConfig = !SystemVersion.isAndroid();
try {
while (_write) {
flushRecords();
if (_write)
if (_write && shouldReadConfig)
rereadConfig();
}
} catch (Exception e) {