mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-29 05:16:51 +01:00
Fossil HR: display sender instead of App Name
(in the long run we need more icons to distinguish)
This commit is contained in:
parent
6244bdd745
commit
9cd4ee0f29
@ -451,11 +451,11 @@ public class FossilHRWatchAdapter extends FossilWatchAdapter {
|
||||
try {
|
||||
for (NotificationHRConfiguration configuration : this.notificationConfigurations){
|
||||
if(configuration.getPackageName().equals(notificationSpec.sourceAppId)){
|
||||
queueWrite(new PlayNotificationRequest(notificationSpec.sourceAppId, notificationSpec.sourceName, notificationSpec.body, this));
|
||||
queueWrite(new PlayNotificationRequest(notificationSpec.sourceAppId, notificationSpec.sender, notificationSpec.body, this));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
queueWrite(new PlayNotificationRequest("generic", notificationSpec.sourceName, notificationSpec.body, this));
|
||||
queueWrite(new PlayNotificationRequest("generic", notificationSpec.sender, notificationSpec.body, this));
|
||||
}catch (Exception e){
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user