mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-07-21 22:20:34 +02:00
[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:
parent
74d876f145
commit
3eba599aec
2 changed files with 828 additions and 3 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue