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:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user