fix(android): keep Tor bootstrap alive after the unlock activity dies
Some checks failed
android-ci / android (pull_request) Has been cancelled
Some checks failed
android-ci / android (pull_request) Has been cancelled
Open set Phase.Opening then ran openWire on viewModelScope, and the keep-alive refused to start until Wire existed. Closing the activity cancelled bootstrap, so the spinner vanished and the lock screen came back idle. Run openWire on NodeHost's process scope, start the FGS on the Open tap, and treat in-flight bootstrap as keep-alive work. IME Go also submits unlock the same way as the Open button.
This commit is contained in:
parent
77f577fcf9
commit
396e468f1a
9 changed files with 226 additions and 30 deletions
|
|
@ -10,7 +10,9 @@
|
|||
<string name="keep_alive_channel_name">Node keep-alive</string>
|
||||
<string name="keep_alive_channel_description">Shown while OnionWire keeps your onion address reachable in the background.</string>
|
||||
<string name="keep_alive_title">OnionWire is reachable</string>
|
||||
<string name="keep_alive_title_opening">OnionWire is starting</string>
|
||||
<string name="keep_alive_text">Tor and the outbox are running so peers can deliver messages.</string>
|
||||
<string name="keep_alive_text_opening">Bootstrapping Tor. This can take minutes — keep the device awake.</string>
|
||||
<string name="keep_alive_text_onion">Tor and the outbox are running so peers can reach %1$s…</string>
|
||||
<string name="keep_alive_stop">Stop keep-alive</string>
|
||||
<string name="keep_alive_note_off">Reachable only while this app is open.</string>
|
||||
|
|
|
|||
Loading…
Reference in a new issue