[core] Rename "onLowMemory" to "reduceMemoryUse".
Android still calls "reduceMemoryUse" only while handling a low memory event. iOS, on the other hand, calls "reduceMemoryUse" every time it enters the background.
This commit is contained in:
@@ -303,7 +303,7 @@ void TilePyramid::setCacheSize(size_t size) {
|
||||
cache.setSize(size);
|
||||
}
|
||||
|
||||
void TilePyramid::onLowMemory() {
|
||||
void TilePyramid::reduceMemoryUse() {
|
||||
cache.clear();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user