mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
use second resolution in bt device display
Useful to see that a scan really did just happen
This commit is contained in:
parent
7c7b80deae
commit
24fad52cd8
1 changed files with 4 additions and 2 deletions
|
@ -203,8 +203,10 @@ public class BTInviteDelegate extends InviteDelegate {
|
|||
|
||||
String msg = null;
|
||||
if ( mPersisted.stamps.containsKey( devName ) ) {
|
||||
long lastSeenMS = mPersisted.stamps.get( devName );
|
||||
CharSequence elapsed = DateUtils.getRelativeTimeSpanString( lastSeenMS );
|
||||
CharSequence elapsed = DateUtils
|
||||
.getRelativeTimeSpanString( mPersisted.stamps.get( devName ),
|
||||
System.currentTimeMillis(),
|
||||
DateUtils.SECOND_IN_MILLIS );
|
||||
msg = getString( R.string.bt_scan_age_fmt, elapsed );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue