NotificationManager: handle non player part of MPRIS

This exposes the package name to MPRIS and allows to raise the
application to the front when clicking the MPRIS notification.
This commit is contained in:
Julian Winkler
2024-07-16 22:10:44 +02:00
parent b54bed4784
commit 9d27fc138b
6 changed files with 67 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ public class Application extends ContextWrapper {
return getString(pkg.applicationInfo.icon);
}
private String get_app_label() {
String get_app_label() {
return getString(pkg.applicationInfo.labelRes);
}