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