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

Method forceBindAttributes

valdi/src/valdi/runtime/RuntimeManager.cpp:381–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379 }
380}
381
382void RuntimeManager::applicationDidResume() {
383 VALDI_INFO(*_logger, "Application did resume");
384 _anrDetector->onEnterForeground();
385 startDebuggerServices();
386 cancelDeferredGCTask();
387
388 // Assets that failed a remote load while backgrounded (e.g. a transient CDN/DNS outage) stay
389 // failed until a new consumer subscribes. Re-resolve them now that we are foreground and the
390 // network has likely recovered, so button icons and other static assets repaint without a relaunch.
391 for (const auto& runtime : getAllRuntimes()) {
392 const auto& assetsManager = runtime->getResourceManager().getAssetsManager();
393 if (assetsManager != nullptr) {

Callers

nothing calls this directly

Calls 2

asyncMethod · 0.45
getAttributesForClassMethod · 0.45

Tested by

no test coverage detected