ui: modals, exit modal, app exit logic on Android, refactor display cutouts, optimize translations

This commit is contained in:
ardocrat
2023-06-02 02:05:34 +03:00
parent c3ce297373
commit d3e81826e8
26 changed files with 1051 additions and 484 deletions
@@ -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) {