You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
use handle_cache for Looper methods
These methods need to be called very often
This commit is contained in:
@@ -94,6 +94,11 @@ struct handle_cache {
|
||||
jclass class;
|
||||
jmethodID get_app_icon_path;
|
||||
} application;
|
||||
struct {
|
||||
jclass class;
|
||||
jmethodID loop;
|
||||
jmethodID prepareMainLooper;
|
||||
} looper;
|
||||
};
|
||||
|
||||
extern struct handle_cache handle_cache;
|
||||
|
||||
Reference in New Issue
Block a user