Search in sources :

Example 1 with EllapsedTimeFormatter

use of org.thoughtcrime.securesms.util.EllapsedTimeFormatter in project Signal-Android by WhisperSystems.

the class WebRtcCallActivity method handleCallTime.

private void handleCallTime(long callTime) {
    EllapsedTimeFormatter ellapsedTimeFormatter = EllapsedTimeFormatter.fromDurationMillis(callTime);
    if (ellapsedTimeFormatter == null) {
        return;
    }
    callScreen.setStatus(getString(R.string.WebRtcCallActivity__signal_s, ellapsedTimeFormatter.toString()));
}
Also used : EllapsedTimeFormatter(org.thoughtcrime.securesms.util.EllapsedTimeFormatter)

Example 2 with EllapsedTimeFormatter

use of org.thoughtcrime.securesms.util.EllapsedTimeFormatter in project Signal-Android by signalapp.

the class WebRtcCallActivity method handleCallTime.

private void handleCallTime(long callTime) {
    EllapsedTimeFormatter ellapsedTimeFormatter = EllapsedTimeFormatter.fromDurationMillis(callTime);
    if (ellapsedTimeFormatter == null) {
        return;
    }
    callScreen.setStatus(getString(R.string.WebRtcCallActivity__signal_s, ellapsedTimeFormatter.toString()));
}
Also used : EllapsedTimeFormatter(org.thoughtcrime.securesms.util.EllapsedTimeFormatter)

Aggregations

EllapsedTimeFormatter (org.thoughtcrime.securesms.util.EllapsedTimeFormatter)2