[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:
@@ -716,7 +716,7 @@ public:
|
||||
{
|
||||
MGLAssertIsMainThread();
|
||||
|
||||
_rendererFrontend->onLowMemory();
|
||||
_rendererFrontend->reduceMemoryUse();
|
||||
}
|
||||
|
||||
#pragma mark - Layout -
|
||||
@@ -2315,7 +2315,7 @@ public:
|
||||
|
||||
- (void)emptyMemoryCache
|
||||
{
|
||||
_rendererFrontend->onLowMemory();
|
||||
_rendererFrontend->reduceMemoryUse();
|
||||
}
|
||||
|
||||
- (void)setZoomEnabled:(BOOL)zoomEnabled
|
||||
|
||||
Reference in New Issue
Block a user