From 0119d62a35ca111cf8a7600b64405343277b9b8e Mon Sep 17 00:00:00 2001 From: TobiGr Date: Wed, 20 Dec 2017 16:13:33 +0100 Subject: [PATCH] change notification bar icon for popup and background player --- .../schabi/newpipe/player/BackgroundPlayer.java | 2 +- .../schabi/newpipe/player/PopupVideoPlayer.java | 2 +- .../drawable-hdpi/ic_newpipe_triangle_white.png | Bin 0 -> 570 bytes .../drawable-mdpi/ic_newpipe_triangle_white.png | Bin 0 -> 328 bytes .../drawable-xhdpi/ic_newpipe_triangle_white.png | Bin 0 -> 628 bytes .../ic_newpipe_triangle_white.png | Bin 0 -> 1194 bytes .../ic_newpipe_triangle_white.png | Bin 0 -> 1299 bytes 7 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 app/src/main/res/drawable-hdpi/ic_newpipe_triangle_white.png create mode 100644 app/src/main/res/drawable-mdpi/ic_newpipe_triangle_white.png create mode 100644 app/src/main/res/drawable-xhdpi/ic_newpipe_triangle_white.png create mode 100644 app/src/main/res/drawable-xxhdpi/ic_newpipe_triangle_white.png create mode 100644 app/src/main/res/drawable-xxxhdpi/ic_newpipe_triangle_white.png diff --git a/app/src/main/java/org/schabi/newpipe/player/BackgroundPlayer.java b/app/src/main/java/org/schabi/newpipe/player/BackgroundPlayer.java index f260b86a6..482f8f803 100644 --- a/app/src/main/java/org/schabi/newpipe/player/BackgroundPlayer.java +++ b/app/src/main/java/org/schabi/newpipe/player/BackgroundPlayer.java @@ -177,7 +177,7 @@ public final class BackgroundPlayer extends Service { NotificationCompat.Builder builder = new NotificationCompat.Builder(this, getString(R.string.notification_channel_id)) .setOngoing(true) - .setSmallIcon(R.drawable.ic_play_circle_filled_white_24dp) + .setSmallIcon(R.drawable.ic_newpipe_triangle_white) .setVisibility(NotificationCompat.VISIBILITY_PUBLIC) .setCustomContentView(notRemoteView) .setCustomBigContentView(bigNotRemoteView); diff --git a/app/src/main/java/org/schabi/newpipe/player/PopupVideoPlayer.java b/app/src/main/java/org/schabi/newpipe/player/PopupVideoPlayer.java index d141dfaae..d4c374dfc 100644 --- a/app/src/main/java/org/schabi/newpipe/player/PopupVideoPlayer.java +++ b/app/src/main/java/org/schabi/newpipe/player/PopupVideoPlayer.java @@ -275,7 +275,7 @@ public final class PopupVideoPlayer extends Service { return new NotificationCompat.Builder(this, getString(R.string.notification_channel_id)) .setOngoing(true) - .setSmallIcon(R.drawable.ic_play_arrow_white) + .setSmallIcon(R.drawable.ic_newpipe_triangle_white) .setVisibility(NotificationCompat.VISIBILITY_PUBLIC) .setContent(notRemoteView); } diff --git a/app/src/main/res/drawable-hdpi/ic_newpipe_triangle_white.png b/app/src/main/res/drawable-hdpi/ic_newpipe_triangle_white.png new file mode 100644 index 0000000000000000000000000000000000000000..cb26a5f65ea9524f064f423d5ccdf4a707bf8659 GIT binary patch literal 570 zcmV-A0>%A_P)L=|;Nsv?>rk<%n~UNgif9G# zYY+rc5T{xk9Q;5*v5I=_{Tz~mLoU7CM=m$?S@S0OC3*P2@0%c)uNn*8SdZSUEkO_j z0rD8ZS!}|BtU)U=fp2(-6Bx)EbYECA_<$SOgTAamrTUF`IFGgH%oSrL2y?1Z&EgRbL~pnD zX(%bEY{*A7+7pv8i-qk?p#6H}_7xBF^iK7^lW-wv}ZbwgFsea(1uupolVCqknOIcl+h zPCl`PnWBIjyyQU7SS|uMMFo3!&4Dhkh;lH{wLX@<(RT*oTR zv0>1(^#d~ZHSm_RZP%z50qpkxE`tFiSjBBl@jcdqw+NHCLn~9BxZvcvcV`ddsC#uLRp!TBwNYCiex3($U>3@nSX$>K^9ULk_8J3 z79$$JYUD>|JTo7Qd!L?Z^v=ES-8pyaeb?vSzTbP#IrrWB+S*#QC_q+$0#<;*MKVDa2b7N4EUN}=@5S6C>EC~;0O+3 zEHL6Xo?uT|0`{e2dT~Q?M?#p!b!;p}Ksv4y{kR(#0UvQek-JrBK+X6r$y|S)A>`1)pYTk0k;FiE4Yevg^A}37^x%v3y-j?aPa~HzT*J8 z=S;py0pqxcHFGN7gn%i$!ulxUHBxy3UgDr4cb8By1`Oj;Da5N}4Cpn_KJMoFIX$P; z3D^vOKi6wW(2&!Ky0T>qye9C0?T9jWX62|qq{|mF#Z6F7vTgoH!`yT O0000J9Ki9tVq04#_C}hv6k}e(!IBZ06EAsRPOOzsBIKpW4x~slWjPQv3QL^qgkdqn z0U^sv!xkZC_QJNu^X&dO_}%|JJ>9n5|F`RZKfAx@_w~Q7Z};zi{eHjey6-V#`t<43 zr{Q2M#$jygxik_?#RAO5;i>1-IB*=E#0FfCV=y80yc$DW&?>-@CdyJ#70>5Lhpr|i!0VX#>R2hQWjB zEW_)fM9C{>5TA>kZIQAw@45wH8kXQ$v1R8iNm?RhcpjIkDmSW2kl4Kziu3(X@K;VT zMAPjp+^FiCCv^zIOx!Hq5nJUCry+cWdvUrtj+LquBw7|r@QQc|7pd^Kiev6`#qGD= zEj2{zV*#GRcVY|9%K+AiQe`H_SM6lvVoDPvw(X;FyW&-ROLQu46YY*Pee1FW;V{vF ze-k?t>jMpmaGEFeWvwyBL#aSuVSD16{BzwIXPMs)0&;-1S2StCmcf+X@B?uZTPC1*K>=mJ?pixg>&;jT|&|1t* zJ>S|n2tnJ#@o?{D!DX-?K?CAPy~{D*XnhGEhz^2U;-dEooT+KIPU~ibpdIaSI$zve zt@i|>iL?c+6gMNT6aD2w^EdLH(EoFj{iFZ)IDPu`>63(i0eb*pfwyLL-2eap07*qo IM6N<$f+8q9FaQ7m literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-xxxhdpi/ic_newpipe_triangle_white.png b/app/src/main/res/drawable-xxxhdpi/ic_newpipe_triangle_white.png new file mode 100644 index 0000000000000000000000000000000000000000..93cfda12d8424237caeb1d2ba40e3f0bb3170ad3 GIT binary patch literal 1299 zcmV+u1?>8XP)eS4jwjw%!i zg+ifFC=|K_EW@hQar7;?1|wLFt5e6*cT@zx5MIVSOiLYGUob{Mo8Rzo>e%{%!w6`z z4l6J-b(}rR5d^?KyoWidW9>=CA)w8EJb=?v$J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