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

Method contextOnCreate

valdi/src/valdi/android/NativeBridge.cpp:433–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431}
432
433void ValdiAndroid::NativeBridge::contextOnCreate( // NOLINT
434 fbjni::alias_ref<fbjni::JClass> /* clazz */, // NOLINT
435 jlong contextHandle) {
436 auto context = getContext(contextHandle);
437 if (context != nullptr) {
438 context->onCreate();
439 }
440}
441
442void ValdiAndroid::NativeBridge::updateResource( // NOLINT
443 fbjni::alias_ref<fbjni::JClass> /* clazz */, // NOLINT

Callers

nothing calls this directly

Calls 2

getContextFunction · 0.70
onCreateMethod · 0.65

Tested by

no test coverage detected