use second resolution in bt device display

Useful to see that a scan really did just happen
This commit is contained in:
Eric House 2019-01-08 11:52:31 -08:00
parent 7c7b80deae
commit 24fad52cd8

View file

@ -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 );
}