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

Commit 4b1fc043 authored by Budi Kusmiantoro's avatar Budi Kusmiantoro Committed by Android Git Automerger
Browse files

am 0abba366: am 55f1b9fd: Increase stopwatch refresh interval to allow talkback

* commit '0abba366':
  Increase stopwatch refresh interval to allow talkback
parents d869b732 0abba366
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
package com.android.deskclock.stopwatch;

import android.animation.LayoutTransition;
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
@@ -19,7 +18,6 @@ import android.view.ViewGroup;
import android.view.animation.Animation;
import android.view.animation.TranslateAnimation;
import android.widget.BaseAdapter;
import android.widget.ImageButton;
import android.widget.ListPopupWindow;
import android.widget.ListView;
import android.widget.TextView;
@@ -40,6 +38,8 @@ public class StopwatchFragment extends DeskClockFragment
    private static final boolean DEBUG = false;

    private static final String TAG = "StopwatchFragment";
    private static final int STOPWATCH_REFRESH_INTERVAL_MILLIS = 25;

    int mState = Stopwatches.STOPWATCH_RESET;

    // Stopwatch views that are accessed by the activity
@@ -660,7 +660,7 @@ public class StopwatchFragment extends DeskClockFragment
            if (mLapsAdapter.getCount() > 0) {
                updateCurrentLap(totalTime);
            }
            mTime.postDelayed(mTimeUpdateThread, 10);
            mTime.postDelayed(mTimeUpdateThread, STOPWATCH_REFRESH_INTERVAL_MILLIS);
        }
    };