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

Function doSetRootViewToContext

valdi/src/valdi/android/NativeBridge.cpp:507–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505 auto bytes = ValdiAndroid::toByteArray(javaEnv, resource);
506 auto cppBundleName = ValdiAndroid::toInternedString(javaEnv, bundleName);
507 auto cppFilePathWithinBundle = ValdiAndroid::toInternedString(javaEnv, filePathWithinBundle);
508
509 runtime->updateResource(bytes, cppBundleName, cppFilePathWithinBundle);
510}
511
512/*
513 * Class: snapchat_valdi_nativebridge_ValdiNativeBridge
514 * Method: destroyContext
515 * Signature: (JJ)V
516 */
517void ValdiAndroid::NativeBridge::destroyContext( // NOLINT
518 fbjni::alias_ref<fbjni::JClass> /* clazz */, // NOLINT

Callers 2

setRootViewMethod · 0.85

Calls 2

getViewNodeTreeFunction · 0.85
setRootViewMethod · 0.45

Tested by

no test coverage detected