Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS
2021-03-15 18:03:57 +03:00
parent b30bd69ba9
commit bb93876838
7 changed files with 9 additions and 5 deletions
@@ -150,8 +150,8 @@ public class DaemonWrapper {
public void changeDataDir(String dataDir, Boolean updateAssets) {
I2PD_JNI.setDataDir(dataDir);
if( updateAssets ) processAssets();
//ToDo: move old dir to new dir?
if( updateAssets ) processAssets();
//ToDo: move old dir to new dir?
}
public boolean isStartedOkay() {
@@ -505,6 +505,6 @@ public class I2PDActivity extends Activity {
} catch (Throwable tr) {
Log.e(TAG, "", tr);
}
//System.exit(0);
System.exit(0);
}
}
+1 -1
View File
@@ -29,6 +29,6 @@
<item
android:id="@+id/action_stop"
android:orderInCategory="99"
android:title="@string/action_stop" />
android:title="@string/action_exit" />
</group>
</menu>
+1
View File
@@ -5,6 +5,7 @@
<string name="action_start">Запустить</string>
<string name="action_stop">Остановить</string>
<string name="action_exit">Выход</string>
<string name="action_graceful_stop">Корректная остановка</string>
<string name="action_cancel_graceful_stop">Отменить корректную остановку</string>
<string name="action_reload_tunnels_config">Перезагрузить туннели</string>
+1
View File
@@ -6,6 +6,7 @@
<string name="action_start">Start</string>
<string name="action_stop">Stop</string>
<string name="action_exit">Exit</string>
<string name="action_graceful_stop">Graceful Stop</string>
<string name="action_cancel_graceful_stop">Cancel Graceful Stop</string>
<string name="action_reload_tunnels_config">Reload tunnels</string>
@@ -0,0 +1,2 @@
* Updated codebase to 2.37.0
* Changes in main activity