[android] fix is download complete (a download is complete when count and required resources match and the download state is inactive) (#9913)
This commit is contained in:
@@ -80,7 +80,7 @@ public class OfflineRegionStatus {
|
||||
* @return true if download is complete, false if not
|
||||
*/
|
||||
public boolean isComplete() {
|
||||
return (completedResourceCount == requiredResourceCount);
|
||||
return (completedResourceCount == requiredResourceCount) && downloadState == OfflineRegion.STATE_INACTIVE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user