mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-08-25 08:40:43 +02:00
add System.exit(0) to quit() to ensure exit
This commit is contained in:
parent
2015026e36
commit
383e096248
@ -146,6 +146,7 @@ public class GBApplication extends Application {
|
|||||||
Intent quitIntent = new Intent(GBApplication.ACTION_QUIT);
|
Intent quitIntent = new Intent(GBApplication.ACTION_QUIT);
|
||||||
LocalBroadcastManager.getInstance(context).sendBroadcast(quitIntent);
|
LocalBroadcastManager.getInstance(context).sendBroadcast(quitIntent);
|
||||||
GBApplication.deviceService().quit();
|
GBApplication.deviceService().quit();
|
||||||
|
System.exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public GBApplication() {
|
public GBApplication() {
|
||||||
|
Loading…
Reference in New Issue
Block a user