mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-22 09:58:08 +00:00
Don't send reply actions
They are already handles by another codepath
This commit is contained in:
parent
c2cd60773b
commit
5f70db7568
@ -268,8 +268,8 @@ public class NotificationsPlugin extends Plugin implements NotificationReceiver.
|
||||
actions.put(key, new LinkedList<>());
|
||||
JSONArray jsonArray = new JSONArray();
|
||||
for (Notification.Action action : notification.actions) {
|
||||
if (null == action.title)
|
||||
break;
|
||||
if (null == action.title || (action.getRemoteInputs() != null && action.getRemoteInputs().length > 0))
|
||||
continue;
|
||||
jsonArray.put(action.title.toString());
|
||||
actions.get(key).add(action);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user