Loading core/jni/android_os_GraphicsEnvironment.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,8 @@ void setDriverPath(JNIEnv* env, jobject clazz, jstring path) { } void setLayerPaths_native(JNIEnv* env, jobject clazz, jobject classLoader, jstring layerPaths) { android_namespace_t* appNamespace = android::FindNamespaceByClassLoader(env, classLoader); android::NativeLoaderNamespace* appNamespace = android::FindNativeLoaderNamespaceByClassLoader( env, classLoader); ScopedUtfChars layerPathsChars(env, layerPaths); android::GraphicsEnv::getInstance().setLayerPaths(appNamespace, layerPathsChars.c_str()); } Loading Loading
core/jni/android_os_GraphicsEnvironment.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,8 @@ void setDriverPath(JNIEnv* env, jobject clazz, jstring path) { } void setLayerPaths_native(JNIEnv* env, jobject clazz, jobject classLoader, jstring layerPaths) { android_namespace_t* appNamespace = android::FindNamespaceByClassLoader(env, classLoader); android::NativeLoaderNamespace* appNamespace = android::FindNativeLoaderNamespaceByClassLoader( env, classLoader); ScopedUtfChars layerPathsChars(env, layerPaths); android::GraphicsEnv::getInstance().setLayerPaths(appNamespace, layerPathsChars.c_str()); } Loading