Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4e3526c authored by Daria Evdokimova's avatar Daria Evdokimova Committed by Android Git Automerger
Browse files

am e43ba9b0: am 5238e2f8: Updating UI on state change of stopwatch

* commit 'e43ba9b0':
  Updating UI on state change of stopwatch
parents 7cdcb7e5 e43ba9b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ public class StopwatchService extends Service {
        String actionType = intent.getAction();
        long actionTime = intent.getLongExtra(Stopwatches.MESSAGE_TIME, Utils.getTimeNow());
        boolean showNotif = intent.getBooleanExtra(Stopwatches.SHOW_NOTIF, true);
        boolean updateCircle = showNotif; // Don't save updates to the cirle if we're in the app.
        boolean updateCircle = !showNotif; // Update the stopwatch circle when the app is open.
        switch(actionType) {
            case HandleDeskClockApiCalls.ACTION_START_STOPWATCH:
                SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this) ;