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

Method applicationSetConfiguration

valdi/src/valdi/android/NativeBridge.cpp:1371–1381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1369 }
1370
1371 wrapper->getRuntimeManager().clearViewPools();
1372}
1373
1374void ValdiAndroid::NativeBridge::applicationSetConfiguration( // NOLINT
1375 fbjni::alias_ref<fbjni::JClass> /* clazz */, // NOLINT
1376 jlong runtimeManagerHandle,
1377 jfloat dynamicTypeScale) {
1378 auto* wrapper = getRuntimeManagerWrapper(runtimeManagerHandle);
1379 if (wrapper == nullptr) {
1380 return;
1381 }
1382
1383 wrapper->setDynamicTypeScale(dynamicTypeScale);
1384}

Callers

nothing calls this directly

Calls 2

getRuntimeManagerWrapperFunction · 0.85
setDynamicTypeScaleMethod · 0.45

Tested by

no test coverage detected