From 3a150bdb638782d88e4e3bcfdf13fec14aa5515e Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sat, 14 Sep 2019 19:33:23 +0200 Subject: [PATCH] Updated key notification icon Notification icons must be white and square --- .../core/service/download/DownloadService.java | 2 +- .../res/drawable-hdpi/ic_stat_authentication.png | Bin 371 -> 0 bytes .../res/drawable-mdpi/ic_stat_authentication.png | Bin 244 -> 0 bytes .../res/drawable-xhdpi/ic_stat_authentication.png | Bin 418 -> 0 bytes .../drawable-xxhdpi/ic_stat_authentication.png | Bin 848 -> 0 bytes .../src/main/res/drawable/ic_notification_key.xml | 5 +++++ 6 files changed, 6 insertions(+), 1 deletion(-) delete mode 100644 core/src/main/res/drawable-hdpi/ic_stat_authentication.png delete mode 100644 core/src/main/res/drawable-mdpi/ic_stat_authentication.png delete mode 100644 core/src/main/res/drawable-xhdpi/ic_stat_authentication.png delete mode 100755 core/src/main/res/drawable-xxhdpi/ic_stat_authentication.png create mode 100644 core/src/main/res/drawable/ic_notification_key.xml diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java b/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java index 787d465d8..e4dedc23b 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java @@ -546,7 +546,7 @@ public class DownloadService extends Service { .setContentText(getText(R.string.authentication_notification_msg)) .setStyle(new NotificationCompat.BigTextStyle().bigText(getText(R.string.authentication_notification_msg) + ": " + resourceTitle)) - .setSmallIcon(R.drawable.ic_stat_authentication) + .setSmallIcon(R.drawable.ic_notification_key) .setAutoCancel(true) .setContentIntent(ClientConfig.downloadServiceCallbacks.getAuthentificationNotificationContentIntent(DownloadService.this, downloadRequest)); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { diff --git a/core/src/main/res/drawable-hdpi/ic_stat_authentication.png b/core/src/main/res/drawable-hdpi/ic_stat_authentication.png deleted file mode 100644 index 398dffa4b7a0c60cbea3eb4eb4cdb3a02a1a24cf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 371 zcmV-(0gV2MP)L&7q3>uJ4FahHZe54e+8CKahmxVxN&OkW)4zyF5a&&tvFdA?`b z|Boyhv9if2Ti9tOFP=yO1Gov~VVu<1G9~O2-U)_SG8aVV#Hc!I9{?X#`Y_`q*eMw* zp@D}?>BG4R55Zdc`-d) zG2$fDnG`yO2Og$qVkB$^oKk2DHM$hCqh>)0wVS1U45V*3TS7JGo0uw&_yw+tf&qYkj#=aP(8JxI#BT6 z4y>YzI@N&!ehLHCL$5XPE9I2?55%FxkH0+A|BKK!R#Za*QgNW){noVCa}6bMo1#Gv R54r#V002ovPDHLkV1f(;o#X%j diff --git a/core/src/main/res/drawable-mdpi/ic_stat_authentication.png b/core/src/main/res/drawable-mdpi/ic_stat_authentication.png deleted file mode 100644 index 550b56b331b5c7f51a9799a627c3978eed014740..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 244 zcmVm-*U#pN((RVbqFUyVgwTiuW0| z?WsMb_s_4rbfX+O9k#J#NS}&F`+6c{6bwZ{mphMUBVz^hMM3+spc)ywprT8=MNgf+ z7jReXxwFVvlcN?H6LQQ)MwdOgg~%znksFVkvi+|nJ!Vy%I#V-m;r%3G{GXDGVqZuK un!fs_$(i%7erW|9|5A`J?zq@SeBC|oyP{-vxg>M|00003az&#Z%wo^hVW$aV_ILbWYj_ zo*?%8@ySv?pp$JMC_p^=OT53?rbMo2+0dmuVuDckTi4 zQT9F(fi`>$*$0a8QEeZ1fsZ`R4uB_UV? zQA$W4N(l)>HNk3Tzm2(QpT$Q0G?oecg$+>(2wp`mAc?VGqgADZ+n4FZ$ujQ{`u M07*qoM6N<$f+%{p=Kufz diff --git a/core/src/main/res/drawable-xxhdpi/ic_stat_authentication.png b/core/src/main/res/drawable-xxhdpi/ic_stat_authentication.png deleted file mode 100755 index 965fabc57cec0e351511ae7894e400629f0cdf07..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 848 zcmV-W1F!svP)!`@NA2 zir!D;Y~f$4T)A@P%H|K~dLz91Y_;NVufej`Ybz9(o z2hm{U*a!Z>c<=D&1#i{@J+W3Rb?Y(Gp9r`W+b%!;qF~%4aSiQ4@PT*Gvf`t4?vw_L z+k~JkIBFTAw@|!VE2Lh4(82#H*k_4r?~bPeTeSPs2h^?wpyWA5JPl1tIXTZKBmY%h zMYeIx_R1!85(TF~CIpwzkN+%VRs~{Zb-G2q9RZNtAB)>j0-TqUk+tAMsO+fp;n+E# z0p4|#U#&5j1l&KrRec@-ke#>a0ITP^7!S>FHC}2AFea(~eK-#&pnzI0X4jhS({19e z`f%KmVeS)FivOBFVuG@Wttt)Rr*s#&UTdI(oIJ~<&Un^0(*RyuJgAY)ODO<~B}3wL zAOdAuKbqzgoht*i(F~=*;uaKu;!g4aH2^y*&`HuHkRdK9lQ;N1wlt-mL2$%_?M-Vk}=ZimxkZoZ~7|sGpF@oxwCMs^nUm?CO zP2v#?gF?ieP&r)e$U?^ma-!(9acAKa;d=2-z9eiAE-D{+-j>N>=nz1tAr~T!F0fEM zi{>Plpa_iY1q< z$zXM&iaT-p)?7J_{azr+C-8tRf{75!0YYpv3)TRxUYo2=6u&2b4Kde@=V5+VU@QK8 z4q_*B;CmSZ#1A;URIC9)3_xZ+gIE4!K;_VCa}}z<#f3e9AP%p5UG4qd+!uvhxpL+D a2k1A{GrE!L<^bjZ0000u diff --git a/core/src/main/res/drawable/ic_notification_key.xml b/core/src/main/res/drawable/ic_notification_key.xml new file mode 100644 index 000000000..b1e2f9b8c --- /dev/null +++ b/core/src/main/res/drawable/ic_notification_key.xml @@ -0,0 +1,5 @@ + + +