mirror of
https://github.com/status-im/status-app.git
synced 2026-08-31 00:51:10 +00:00
On Android status-go runs in a separate, long-lived service process. After the earlier change to skip the synchronous logout on mobile, "Sign out & quit" only _exit(0) the UI process, leaving the service running with the node still logged in. signOutAndQuit now tells the service to stop on Android, by sending an ACTION_STOP intent.
11 lines
182 B
C
11 lines
182 B
C
#pragma once
|
|
|
|
#include <QtGlobal>
|
|
|
|
extern "C" {
|
|
|
|
// Stop the separate Android status-go service process. No-op if not Android.
|
|
Q_DECL_EXPORT void statusq_stopBackgroundService();
|
|
|
|
}
|