Project

General

Profile

« Previous | Next » 

Revision 4483b119

Added by Leszek Koltunski 12 months ago

Show the same time format in the 'NewRecord' and 'Solved' dialogs as well.

View differences:

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

  
168 168
///////////////////////////////////////////////////////////////////////////////////////////////////
169 169

  
170
  public long stopTimerAndGetRecord()
170
  public int stopTimerAndGetRecord()
171 171
    {
172 172
    if( mRunning )
173 173
      {
174 174
      stopCounting();
175 175
      mElapsed = System.currentTimeMillis()-mStartTime;
176
      return mElapsed;
176
      return (int)mElapsed;
177 177
      }
178 178

  
179 179
    return 0;

Also available in: Unified diff