[android] add addressbook in assets

Sources:
http://inr.i2p/export/alive-hosts.txt
http://stats.i2p/cgi-bin/newhosts.txt
http://i2p-projekt.i2p/hosts.txt
http://identiguy.i2p/hosts.txt

Updated: January ‎18, ‎2019, ‏‎12:00:01 PM
This commit is contained in:
r4sas 2019-01-18 23:58:29 +03:00
parent 74d876f145
commit 3eba599aec
2 changed files with 828 additions and 3 deletions

View file

@ -292,7 +292,7 @@ public class I2PDActivity extends Activity {
@Override
public void run() {
try{
try {
Log.d(TAG, "grac stopping");
if(daemon.isStartedOkay()) {
daemon.stopAcceptingTunnels();
@ -302,10 +302,10 @@ public class I2PDActivity extends Activity {
gracefulStopAtMillis = graceStartedMillis + GRACEFUL_DELAY_MILLIS;
}
rescheduleGraceStop(null,gracefulStopAtMillis);
}else{
} else {
i2pdStop();
}
} catch(Throwable tr) {
} catch(Throwable tr) {
Log.e(TAG,"",tr);
}
}
@ -470,6 +470,7 @@ public class I2PDActivity extends Activity {
}
// copy assets. If processed file exists, it won't be overwrited
copyAsset("addressbook");
copyAsset("certificates");
copyAsset("tunnels.d");
copyAsset("i2pd.conf");