Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Use same complete/isComplete logic as core #14500

Merged
merged 1 commit into from
Apr 26, 2019
Merged

Conversation

tobrun
Copy link
Member

@tobrun tobrun commented Apr 24, 2019

This PR aligns complete/isComplete logic between core in offline.hpp vs android binding in OfflineRegionStatus. I have seen cases where the completed resource count exceeds the required resource count. When that happens, OfflineRegionStatus#isComplete() kept returning false while core returned true for OfflineRegionStatus#complete().

20190424_135108

Still need to validate why the completed resource count is going above the required but aligning the isComplete logic seems like a valid short term solution.

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Apr 24, 2019
@tobrun tobrun added this to the release-n milestone Apr 24, 2019
@tobrun tobrun requested a review from LukasPaczos April 24, 2019 12:44
@tobrun tobrun self-assigned this Apr 24, 2019
@tobrun tobrun modified the milestone: release-n Apr 24, 2019
@tobrun tobrun merged commit 7854f0f into master Apr 26, 2019
@tobrun tobrun deleted the tvn-correct-isComplete branch April 26, 2019 14:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants