LatLngs should be rounded to 6 significant figures when displayed
Avoids ugly floating point recurring decimals nonsense.
Fixes #1278
Codecov Report
Base: 45.74% // Head: 46.00% // Increases project coverage by +0.25% :tada:
Coverage data is based on head (
f41ce86) compared to base (f984043). Patch coverage: 66.66% of modified lines in pull request are covered.
:exclamation: Current head f41ce86 differs from pull request most recent head e3f4574. Consider uploading reports for the commit e3f4574 to get more accurate results
Additional details and impacted files
@@ Coverage Diff @@
## master #1279 +/- ##
============================================
+ Coverage 45.74% 46.00% +0.25%
+ Complexity 1017 1016 -1
============================================
Files 172 172
Lines 6728 6721 -7
Branches 686 687 +1
============================================
+ Hits 3078 3092 +14
+ Misses 3266 3247 -19
+ Partials 384 382 -2
| Flag | Coverage Δ | |
|---|---|---|
| uitests | 41.03% <66.66%> (+0.26%) |
:arrow_up: |
| unittests | 14.18% <33.33%> (+0.02%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Impacted Files | Coverage Δ | |
|---|---|---|
| ...org/owntracks/android/ui/map/osm/OSMMapFragment.kt | 77.48% <50.00%> (+1.09%) |
:arrow_up: |
| ...wntracks/android/model/messages/MessageLocation.kt | 91.52% <100.00%> (+0.14%) |
:arrow_up: |
| ...rg/owntracks/android/geocoding/GeocoderLRUCache.kt | 62.50% <0.00%> (-25.00%) |
:arrow_down: |
| ...android/services/MessageProcessorEndpointHttp.java | 61.93% <0.00%> (-3.23%) |
:arrow_down: |
| .../owntracks/android/services/LocationProcessor.java | 32.32% <0.00%> (-2.03%) |
:arrow_down: |
| ...g/owntracks/android/services/MessageProcessor.java | 45.96% <0.00%> (-1.21%) |
:arrow_down: |
| ...n/java/org/owntracks/android/ui/map/MapActivity.kt | 3.02% <0.00%> (ø) |
|
| ...rg/owntracks/android/ui/welcome/VersionFragment.kt | 0.00% <0.00%> (ø) |
|
| ...acks/android/ui/welcome/ConnectionSetupFragment.kt | 0.00% <0.00%> (ø) |
|
| ...n/java/org/owntracks/android/ui/map/MapFragment.kt | 81.39% <0.00%> (+1.39%) |
:arrow_up: |
| ... and 5 more |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.