diff --git a/res/drawable-hdpi/ic_accept_pairing.png b/res/drawable-hdpi/ic_accept_pairing.png deleted file mode 100644 index b95ffdb3..00000000 Binary files a/res/drawable-hdpi/ic_accept_pairing.png and /dev/null differ diff --git a/res/drawable-hdpi/ic_reject_pairing.png b/res/drawable-hdpi/ic_reject_pairing.png deleted file mode 100644 index 1669ea3d..00000000 Binary files a/res/drawable-hdpi/ic_reject_pairing.png and /dev/null differ diff --git a/res/drawable-mdpi/ic_accept_pairing.png b/res/drawable-mdpi/ic_accept_pairing.png deleted file mode 100644 index fad8a0e9..00000000 Binary files a/res/drawable-mdpi/ic_accept_pairing.png and /dev/null differ diff --git a/res/drawable-mdpi/ic_reject_pairing.png b/res/drawable-mdpi/ic_reject_pairing.png deleted file mode 100644 index cc28d134..00000000 Binary files a/res/drawable-mdpi/ic_reject_pairing.png and /dev/null differ diff --git a/res/drawable-xhdpi/ic_accept_pairing.png b/res/drawable-xhdpi/ic_accept_pairing.png deleted file mode 100644 index 72fa0108..00000000 Binary files a/res/drawable-xhdpi/ic_accept_pairing.png and /dev/null differ diff --git a/res/drawable-xhdpi/ic_reject_pairing.png b/res/drawable-xhdpi/ic_reject_pairing.png deleted file mode 100644 index e8589a72..00000000 Binary files a/res/drawable-xhdpi/ic_reject_pairing.png and /dev/null differ diff --git a/res/drawable-xxhdpi/ic_accept_pairing.png b/res/drawable-xxhdpi/ic_accept_pairing.png deleted file mode 100644 index a49f451d..00000000 Binary files a/res/drawable-xxhdpi/ic_accept_pairing.png and /dev/null differ diff --git a/res/drawable-xxhdpi/ic_reject_pairing.png b/res/drawable-xxhdpi/ic_reject_pairing.png deleted file mode 100644 index 892d07c9..00000000 Binary files a/res/drawable-xxhdpi/ic_reject_pairing.png and /dev/null differ diff --git a/res/drawable-xxxhdpi/ic_accept_pairing.png b/res/drawable-xxxhdpi/ic_accept_pairing.png deleted file mode 100644 index c4596d11..00000000 Binary files a/res/drawable-xxxhdpi/ic_accept_pairing.png and /dev/null differ diff --git a/res/drawable-xxxhdpi/ic_reject_pairing.png b/res/drawable-xxxhdpi/ic_reject_pairing.png deleted file mode 100644 index 5ffd8d00..00000000 Binary files a/res/drawable-xxxhdpi/ic_reject_pairing.png and /dev/null differ diff --git a/res/drawable/ic_accept_pairing_24dp.xml b/res/drawable/ic_accept_pairing_24dp.xml new file mode 100644 index 00000000..0432fa69 --- /dev/null +++ b/res/drawable/ic_accept_pairing_24dp.xml @@ -0,0 +1,10 @@ + + + diff --git a/res/drawable/ic_reject_pairing_24dp.xml b/res/drawable/ic_reject_pairing_24dp.xml new file mode 100644 index 00000000..16d6d37d --- /dev/null +++ b/res/drawable/ic_reject_pairing_24dp.xml @@ -0,0 +1,10 @@ + + + diff --git a/src/org/kde/kdeconnect/Device.java b/src/org/kde/kdeconnect/Device.java index 94597a5d..658da13e 100644 --- a/src/org/kde/kdeconnect/Device.java +++ b/src/org/kde/kdeconnect/Device.java @@ -404,8 +404,8 @@ public class Device implements BaseLink.PacketReceiver { .setContentIntent(pendingIntent) .setTicker(res.getString(R.string.pair_requested)) .setSmallIcon(R.drawable.ic_notification) - .addAction(R.drawable.ic_accept_pairing, res.getString(R.string.pairing_accept), acceptedPendingIntent) - .addAction(R.drawable.ic_reject_pairing, res.getString(R.string.pairing_reject), rejectedPendingIntent) + .addAction(R.drawable.ic_accept_pairing_24dp, res.getString(R.string.pairing_accept), acceptedPendingIntent) + .addAction(R.drawable.ic_reject_pairing_24dp, res.getString(R.string.pairing_reject), rejectedPendingIntent) .setAutoCancel(true) .setDefaults(Notification.DEFAULT_ALL) .build(); diff --git a/src/org/kde/kdeconnect/Plugins/SharePlugin/ReceiveNotification.java b/src/org/kde/kdeconnect/Plugins/SharePlugin/ReceiveNotification.java index 3358685b..a9d2df1d 100644 --- a/src/org/kde/kdeconnect/Plugins/SharePlugin/ReceiveNotification.java +++ b/src/org/kde/kdeconnect/Plugins/SharePlugin/ReceiveNotification.java @@ -85,7 +85,7 @@ class ReceiveNotification { cancelIntent.putExtra(SharePlugin.CANCEL_SHARE_DEVICE_ID_EXTRA, device.getDeviceId()); PendingIntent cancelPendingIntent = PendingIntent.getBroadcast(device.getContext(), 0, cancelIntent, PendingIntent.FLAG_UPDATE_CURRENT); - builder.addAction(R.drawable.ic_reject_pairing, device.getContext().getString(R.string.cancel), cancelPendingIntent); + builder.addAction(R.drawable.ic_reject_pairing_24dp, device.getContext().getString(R.string.cancel), cancelPendingIntent); } public void setTitle(String title) { diff --git a/src/org/kde/kdeconnect/Plugins/SharePlugin/UploadNotification.java b/src/org/kde/kdeconnect/Plugins/SharePlugin/UploadNotification.java index 886c8143..4ec79bc1 100644 --- a/src/org/kde/kdeconnect/Plugins/SharePlugin/UploadNotification.java +++ b/src/org/kde/kdeconnect/Plugins/SharePlugin/UploadNotification.java @@ -63,7 +63,7 @@ class UploadNotification { cancelIntent.putExtra(SharePlugin.CANCEL_SHARE_DEVICE_ID_EXTRA, device.getDeviceId()); PendingIntent cancelPendingIntent = PendingIntent.getBroadcast(device.getContext(), 0, cancelIntent, PendingIntent.FLAG_UPDATE_CURRENT); - builder.addAction(R.drawable.ic_reject_pairing, device.getContext().getString(R.string.cancel), cancelPendingIntent); + builder.addAction(R.drawable.ic_reject_pairing_24dp, device.getContext().getString(R.string.cancel), cancelPendingIntent); } public void setTitle(String title) {