mirror of
https://code.gri.mw/GUI/grim.git
synced 2026-07-16 03:38:55 +00:00
ui: modals, exit modal, app exit logic on Android, refactor display cutouts, optimize translations
This commit is contained in:
@@ -88,15 +88,14 @@ public class BackgroundService extends Service {
|
||||
public void onStop() {
|
||||
mStopped = true;
|
||||
|
||||
stopForeground(Service.STOP_FOREGROUND_REMOVE);
|
||||
|
||||
if (mWakeLock.isHeld()) {
|
||||
mWakeLock.release();
|
||||
mWakeLock = null;
|
||||
}
|
||||
|
||||
mHandler.removeCallbacks(mUpdateSyncStatus);
|
||||
|
||||
stopForeground(Service.STOP_FOREGROUND_REMOVE);
|
||||
stopSelf();
|
||||
}
|
||||
|
||||
public static void start(Context context) {
|
||||
|
||||
Reference in New Issue
Block a user