Project

General

Profile

« Previous | Next » 

Revision 7358df36

Added by Leszek Koltunski almost 3 years ago

Fix the long-standing problem that putting app to the background would not stop the 'solving' counter.

View differences:

src/main/java/org/distorted/screens/RubikScreenSolving.java
118 118

  
119 119
  public void savePreferences(SharedPreferences.Editor editor)
120 120
    {
121
    stopCounting();
122

  
121 123
    mElapsed = System.currentTimeMillis()-mStartTime;
122 124
    editor.putLong("stateSolving_elapsed" , mElapsed);
123 125
    mScores.savePreferences(editor);

Also available in: Unified diff