[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:
@@ -155,8 +155,8 @@ std::vector<Feature> RenderRasterDEMSource::querySourceFeatures(const SourceQuer
|
||||
return {};
|
||||
}
|
||||
|
||||
void RenderRasterDEMSource::onLowMemory() {
|
||||
tilePyramid.onLowMemory();
|
||||
void RenderRasterDEMSource::reduceMemoryUse() {
|
||||
tilePyramid.reduceMemoryUse();
|
||||
}
|
||||
|
||||
void RenderRasterDEMSource::dumpDebugLogs() const {
|
||||
|
||||
Reference in New Issue
Block a user