kopia lustrzana https://github.com/ryukoposting/Signal-Android
rodzic
25f9bef74c
commit
fd3d02d818
|
@ -311,7 +311,7 @@ public class InputPanel extends LinearLayout
|
||||||
long localStartTime = startTime.get();
|
long localStartTime = startTime.get();
|
||||||
if (localStartTime > 0) {
|
if (localStartTime > 0) {
|
||||||
long elapsedTime = System.currentTimeMillis() - localStartTime;
|
long elapsedTime = System.currentTimeMillis() - localStartTime;
|
||||||
recordTimeView.setText(DateUtils.formatElapsedTime(TimeUnit.MILLISECONDS.toSeconds(elapsedTime));
|
recordTimeView.setText(DateUtils.formatElapsedTime(TimeUnit.MILLISECONDS.toSeconds(elapsedTime)));
|
||||||
handler.postDelayed(this, TimeUnit.SECONDS.toMillis(1));
|
handler.postDelayed(this, TimeUnit.SECONDS.toMillis(1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue