main-executable: handle drawable-based app icons by rendering them into SVG

This commit is contained in:
Mis012
2025-06-21 01:22:29 +02:00
parent 1c83948b15
commit 2a0c6cd455
6 changed files with 63 additions and 13 deletions

View File

@@ -162,6 +162,7 @@ void set_up_handle_cache(JNIEnv *env)
handle_cache.application.class = _REF((*env)->FindClass(env, "android/app/Application"));
handle_cache.application.get_app_icon_path = _METHOD(handle_cache.application.class, "get_app_icon_path", "()Ljava/lang/String;");
handle_cache.application.get_app_icon_paintable = _METHOD(handle_cache.application.class, "get_app_icon_paintable", "()J");
handle_cache.looper.class = _REF((*env)->FindClass(env, "android/os/Looper"));
handle_cache.looper.loop = _STATIC_METHOD(handle_cache.looper.class, "loop", "()V");