forked from I2P_Developers/i2p.i2p
Router: Don't check config files for reload on Android
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user