fix end date from history
This commit is contained in:
parent
ab0108fab9
commit
7bcec6e81b
@ -168,8 +168,9 @@ public class HistoryActivity extends AppCompatActivity implements OnMapReadyCall
|
|||||||
|
|
||||||
private void setDate() {
|
private void setDate() {
|
||||||
Calendar calendar = Calendar.getInstance();
|
Calendar calendar = Calendar.getInstance();
|
||||||
|
calendar.add(Calendar.DATE, 1);
|
||||||
endDate = calendar.getTime();
|
endDate = calendar.getTime();
|
||||||
calendar.add(Calendar.DATE, -1);
|
calendar.add(Calendar.DATE, -2);
|
||||||
startDate = calendar.getTime();
|
startDate = calendar.getTime();
|
||||||
|
|
||||||
TextView textViewStartDate = findViewById(R.id.textViewStartDate);
|
TextView textViewStartDate = findViewById(R.id.textViewStartDate);
|
||||||
@ -279,6 +280,5 @@ public class HistoryActivity extends AppCompatActivity implements OnMapReadyCall
|
|||||||
this.googleMap.getUiSettings().setMapToolbarEnabled(false);
|
this.googleMap.getUiSettings().setMapToolbarEnabled(false);
|
||||||
|
|
||||||
parentTab.demoPositionsList();
|
parentTab.demoPositionsList();
|
||||||
// displayButton.performClick();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user