mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-22 18:07:55 +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<>());
|
actions.put(key, new LinkedList<>());
|
||||||
JSONArray jsonArray = new JSONArray();
|
JSONArray jsonArray = new JSONArray();
|
||||||
for (Notification.Action action : notification.actions) {
|
for (Notification.Action action : notification.actions) {
|
||||||
if (null == action.title)
|
if (null == action.title || (action.getRemoteInputs() != null && action.getRemoteInputs().length > 0))
|
||||||
break;
|
continue;
|
||||||
jsonArray.put(action.title.toString());
|
jsonArray.put(action.title.toString());
|
||||||
actions.get(key).add(action);
|
actions.get(key).add(action);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user