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:
Julian Winkler
2025-07-28 23:01:58 +02:00
parent 9de9158699
commit f7a29d8731
10 changed files with 152 additions and 5 deletions

View File

@@ -60,6 +60,11 @@ public abstract class Service extends ContextWrapper {
System.out.println("Service.stopSelf() called");
}
public boolean stopSelfResult(int startId) {
System.out.println("Service.stopSelfResult(" + startId + ") called");
return true;
}
public void attachBaseContext(Context newBase) {
System.out.println("Service.attachBaseContext(" + newBase + ") called");
}