MCPcopy Create free account
hub / github.com/Snapchat/Valdi / applicationIsInLowMemory

Method applicationIsInLowMemory

valdi/src/valdi/android/RuntimeManagerWrapper.cpp:248–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246 snapDrawingRuntime.value()->getDrawLooper()->onApplicationEnteringForeground();
247 }
248#endif
249}
250
251void RuntimeManagerWrapper::applicationIsInLowMemory() {
252 _runtimeManager->applicationIsLowInMemory();
253
254#if SNAP_DRAWING_ENABLED
255 auto snapDrawingRuntime = _snapDrawingRuntime.getIfCreated();
256 if (snapDrawingRuntime) {
257 snapDrawingRuntime.value()->getDrawLooper()->onApplicationIsInLowMemory();
258 }
259#endif
260}

Callers

nothing calls this directly

Calls 4

getIfCreatedMethod · 0.80
valueMethod · 0.65

Tested by

no test coverage detected