Fixed call log date
This commit is contained in:
parent
7d0653089d
commit
28a76a0aa9
1 changed files with 2 additions and 2 deletions
|
@ -434,7 +434,7 @@ public class HistoryListFragment extends Fragment implements OnClickListener, On
|
||||||
if (mLogs == null || mLogs.size() < position) return view;
|
if (mLogs == null || mLogs.size() < position) return view;
|
||||||
|
|
||||||
final CallLog log = mLogs.get(position);
|
final CallLog log = mLogs.get(position);
|
||||||
long timestamp = log.getStartDate();
|
long timestamp = log.getStartDate() * 1000;
|
||||||
Address address;
|
Address address;
|
||||||
|
|
||||||
holder.contact.setSelected(true); // For automated horizontal scrolling of long texts
|
holder.contact.setSelected(true); // For automated horizontal scrolling of long texts
|
||||||
|
@ -447,7 +447,7 @@ public class HistoryListFragment extends Fragment implements OnClickListener, On
|
||||||
|
|
||||||
if (position > 0) {
|
if (position > 0) {
|
||||||
CallLog previousLog = mLogs.get(position-1);
|
CallLog previousLog = mLogs.get(position-1);
|
||||||
long previousTimestamp = previousLog.getStartDate();
|
long previousTimestamp = previousLog.getStartDate() * 1000;
|
||||||
Calendar previousLogTime = Calendar.getInstance();
|
Calendar previousLogTime = Calendar.getInstance();
|
||||||
previousLogTime.setTimeInMillis(previousTimestamp);
|
previousLogTime.setTimeInMillis(previousTimestamp);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue