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
implement Google Cloud Messaging using DBus activatable GActions
This needs https://gitlab.com/android_translation_layer/gcm_service running in the background. For D-Bus activation, a D-Bus service file needs to be manually installed under ~/.local/share/dbus-1/services. Tested with FCM-Toolbox app.
This commit is contained in:
@@ -125,6 +125,8 @@ struct handle_cache {
|
||||
jmethodID constructor;
|
||||
jmethodID putExtraCharSequence;
|
||||
jmethodID putExtraByteArray;
|
||||
jmethodID putExtraInt;
|
||||
jmethodID putExtraLong;
|
||||
jmethodID getDataString;
|
||||
jmethodID setClassName;
|
||||
} intent;
|
||||
@@ -146,6 +148,15 @@ struct handle_cache {
|
||||
jclass class;
|
||||
jmethodID parse;
|
||||
} uri;
|
||||
struct {
|
||||
jclass class;
|
||||
jmethodID keySet;
|
||||
jmethodID get;
|
||||
} bundle;
|
||||
struct {
|
||||
jclass class;
|
||||
jmethodID toArray;
|
||||
} set;
|
||||
};
|
||||
|
||||
extern struct handle_cache handle_cache;
|
||||
|
||||
Reference in New Issue
Block a user