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

Commit

Permalink
[android] #3891 - improve description for DEFAULT_MAX_CACHE_SIZE
Browse files Browse the repository at this point in the history
  • Loading branch information
zugaldia committed Feb 25, 2016
1 parent fbaa9ea commit ff0b899
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ public class OfflineManager {
// Default database name
private final static String OFFLINE_DATABASE_NAME = "mbgl-offline.db";

// Resources required by offline regions are exempt from this limit
/*
* The maximumCacheSize parameter is a limit applied to non-offline resources only,
* i.e. resources added to the database for the "ambient use" caching functionality.
* There is no size limit for offline resources.
*/
private final static long DEFAULT_MAX_CACHE_SIZE = 50 * 1024 * 1024;

// Holds the pointer to JNI DefaultFileSource
Expand Down

0 comments on commit ff0b899

Please sign in to comment.