From 9eef78109f857cb4fb3e5b143602be61ebf6523e Mon Sep 17 00:00:00 2001 From: daniel oeh Date: Sun, 14 Oct 2012 12:56:36 +0200 Subject: [PATCH] Moved drawables from sdk folder into drawables folder --- res/drawable-hdpi-v11/stat_notify_sync.png | Bin 0 -> 1012 bytes res/drawable-hdpi-v11/stat_notify_sync_error.png | Bin 0 -> 1103 bytes res/drawable-hdpi/stat_notify_sync.png | Bin 0 -> 674 bytes res/drawable-hdpi/stat_notify_sync_error.png | Bin 0 -> 708 bytes res/drawable-mdpi-v11/stat_notify_sync.png | Bin 0 -> 732 bytes res/drawable-mdpi-v11/stat_notify_sync_error.png | Bin 0 -> 746 bytes res/drawable-mdpi/stat_notify_sync.png | Bin 0 -> 628 bytes res/drawable-mdpi/stat_notify_sync_error.png | Bin 0 -> 627 bytes res/drawable-xhdpi-v11/stat_notify_sync.png | Bin 0 -> 1306 bytes .../stat_notify_sync_error.png | Bin 0 -> 1434 bytes .../service/download/DownloadService.java | 12 ++++++------ 11 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 res/drawable-hdpi-v11/stat_notify_sync.png create mode 100644 res/drawable-hdpi-v11/stat_notify_sync_error.png create mode 100644 res/drawable-hdpi/stat_notify_sync.png create mode 100644 res/drawable-hdpi/stat_notify_sync_error.png create mode 100644 res/drawable-mdpi-v11/stat_notify_sync.png create mode 100644 res/drawable-mdpi-v11/stat_notify_sync_error.png create mode 100644 res/drawable-mdpi/stat_notify_sync.png create mode 100644 res/drawable-mdpi/stat_notify_sync_error.png create mode 100644 res/drawable-xhdpi-v11/stat_notify_sync.png create mode 100644 res/drawable-xhdpi-v11/stat_notify_sync_error.png diff --git a/res/drawable-hdpi-v11/stat_notify_sync.png b/res/drawable-hdpi-v11/stat_notify_sync.png new file mode 100644 index 0000000000000000000000000000000000000000..90b39c9585816c1724f73b59b3759dfd4e53507e GIT binary patch literal 1012 zcmeAS@N?(olHy`uVBq!ia0vp^Dj>|k0wldT1B8JTQjKwGs%z$B`Z(~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&p;YNcz>bs*87%)~?@d{Lygw zB$j7;H;Xt{&Q3PFdS_YH$=ak?nc{=0UqhtC-Q_-te_iEnEzx*LxjHsrcBLls);kMt+UNdg@9)~kwP@9rg-f<9IVQz8^O3Vy=4X-b zO!);}vrlv!(70cy{CLi@(pP4aHHwtZuF6_QB6{1Bb!rYj>pca!d+Y51h1U@zkhZ1tKBdE1o~S)j_g-k|A13}hqh-y zLTOEOZ0K{FDNC;D8Z6%TY}c*_afWbe*0%b!zpsg^V+Tln-j$duzS!i{`)iRZG@{+U_nQx)miyAk zeBB2r>3{p*%9myFe>o^Ti3gaML`z&FN}P*Q6H7Al^Atidb5j`%^^Fbn4Gr}qOy>X< zsDc!vB$lLFC4*F@G8h>c8tNLD=o%V^7+6{v8d;fI>Kd3^85mT)|7nS$AvZrIGp!Q0 z298aRtw0SjARB`7(@M${i&7aJQ}UBi72Gn5Qp@v;vWpd*gG~#!J~jiYWAJqKb6Mw< G&;$Tv`snol literal 0 HcmV?d00001 diff --git a/res/drawable-hdpi/stat_notify_sync.png b/res/drawable-hdpi/stat_notify_sync.png new file mode 100644 index 0000000000000000000000000000000000000000..bfb8110fe729c7472e0e5bcde7dbba6d09a01b14 GIT binary patch literal 674 zcmV;T0$u%yP) z%W5J)6hI3CLcmoZ5C{wm%vP9HK11*W2IeQS4L(N8S8MxfUkw4jAuy|1uM5Cmp6oBa--UuSQYA<2(MqjhlK z_hXSnkS_Vn1*lyTWs}Jy>p#EDYmlU-)9E9@bFY@M?Jsa-zjwRcDLlXcK7)*XfCAis zv51r;Wrx{B84{nxh6UH|xCrQx>{d}O#SRqxQUuR*I-MpMi%6N*vd*$6L*Pk|Y!CPz z+Bx@!E+UmAJkPrZV_|H?{Bfj=z}kx3rZXPI$t;}CQzR=_NFw5IB$=GjMx)__i9zq}3|YagIhn2~!Kuv2F+T)}samZT zfQi7PLi=T;cgNIvWos@%?uqN`jb_I}*;J)c3Bfq{#97ZrUerwLh`MXYkc^6>UazZC zsk8tC0p)v{i zegtEYvdUvcE`0mAkrOM)$U9>`WF;`=-x9^j1Tws!x%UT}zK5J%63M^$NnNd0&mx*0 z#R@$7n|b%&0-F5^uHY8#HwWMs{D8}HxqOoTyGmuL>_3$K0Wf{dm|G&2`v3p{07*qo IM6N<$g6WMt82|tP literal 0 HcmV?d00001 diff --git a/res/drawable-hdpi/stat_notify_sync_error.png b/res/drawable-hdpi/stat_notify_sync_error.png new file mode 100644 index 0000000000000000000000000000000000000000..b340a313e09e1d595d3bf347a780d8a8f8c77545 GIT binary patch literal 708 zcmV;#0z3VQP)P001Tk1^@s6F~u+&0007uNkl8y{FPTyY#0l!45RDOnlA(g-n zUxqJxf%*&sX+5)`-%j>YneK_862)$}D+)?_ zzZ22ABj9~Xpy(WD;<=ex8xf_`>FnTc)xHx!^MX{S7b%fU+U@oiAV=_Bkxy=>xJqu- z$8Q1w3*fUt8^MlEtJMmCWZ=`k6G81+)2-GNq8sd{Kp&dOfL`kK83prAqtWO9aqy9B z;@|riF*(qh+Pa4}0iGVOUayNnn+w($-}gfxz~@+fdm_lNgc@$Np0;^0DDulrLp!+E z@!j2>snu#%Si3jx&E16z&N2BJ2;oUXsUFdz3OM5;J~^hHUq9X>P_kFdn`AO?;2;Pt z(X=ORAa|u#I&TI(Ii{U{o<`KZoVDA7BBa@Do}zhis+n1AL5R{8-Yue_haW)|Jb)+L q*q`7#xWOSf$^Wh7BDu(aBJvyj7vhA8G)Ef%00000S~0t9R>-mwp$W$e}2b~#{mPj49Jf&g0 z(%9>^x>9N0)2e+cJ7;hI`JjjAUE%$vj5eEJcJCxJ-`+aN9e8Q7*oWh1PjZAlT2=aC z*X9=oxXm_nx5xf|d`_zHp8sk-o+gW@>~3XivTc8~KiMK&+t<0{LEr3siH?Oa6F&xP zO1ZwgkjU0s(dD0Zw8twjWY)dyukIdKo-Np3dvufXqMqgTS2q2w{aU@u=E+Cy`?h7* z6xru~JRxPbifwY{Nz2nwTejt99z3l#|K)016N&44J{?`=JKwf^<^Jf$-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#ZQ?L7TMVbj1<)p*NBpo#FA92zopr0N`i$+W-In literal 0 HcmV?d00001 diff --git a/res/drawable-mdpi/stat_notify_sync_error.png b/res/drawable-mdpi/stat_notify_sync_error.png new file mode 100644 index 0000000000000000000000000000000000000000..f849b50403606e43583e1988ee9156c88329e112 GIT binary patch literal 627 zcmeAS@N?(olHy`uVBq!ia0vp^f}&3R>j6jPG7y9>kr_Wm>bfjrIvkH}&m z?E%JaC$sH9f@KAc=|CE+m%%OKs6GP&W3{J?V~EE2yOV4)f)hpB=IfhxPUKkH?Y)7Q zZ&7peVj&lurtWDF@|L)`ST(zV7!R|Ti=PLQzr!)VbeMCaX`S{g6R_6q*9xdLeHmlqIzeHwC z*|oj3%lj{g7pi?MJ#koe@;&48Dz0CqDR_D1ep`O$c<+OK$4^~}?_ZISsm;B#TlKHQ zb*{y_SJ%wl>>nOy*5}kOXM5oOHEk~IP-~ujZfV!2Xv~>$o2A!@(NlKM@`;R zv!h0J;)y$N*YHoW|FY@O&PDnT-(9{3eV4fNb4uSybEElY?iX!&_-@VNuHnBczS`U_ zeA(AIvkbWAZrJ%ZdRJ>lo%@jo3Uw-GO&{Kzy|y8p=XCen&!t;c`7IvS-T3)z@7Jzl zm$&`9&i`fm7WSaGQv!L`h0wNvc(HQ7VvPFfuSS&;=or5CcmqQzI)A zLtO)ND+7b;yxs;V8glbfGSez?YgiWWxd*605@bVgep*R+Vo@rCV@iHfs)A>3VtQ&& XYGO)d;mK5xGZ;Kw{an^LB{Ts53oG?R literal 0 HcmV?d00001 diff --git a/res/drawable-xhdpi-v11/stat_notify_sync.png b/res/drawable-xhdpi-v11/stat_notify_sync.png new file mode 100644 index 0000000000000000000000000000000000000000..b3bf21ffef896fab8ae8ee0b67531ae7b3d3c7de GIT binary patch literal 1306 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA0wn)(8}a}trX+877l!}s{b%+Ad7K3vk;M!Q z+(IDCcKfnz$52J2-w_pT?Lfr0s-r;B4q#NoHoeKTZ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Z)?&I=gg3ajm)3| lxR}IfD$I+MD(e)SqB*h_;?23@9saA{SO~?dnNz? literal 0 HcmV?d00001 diff --git a/src/de/danoeh/antennapod/service/download/DownloadService.java b/src/de/danoeh/antennapod/service/download/DownloadService.java index 02dcb8af5..96a0621ff 100644 --- a/src/de/danoeh/antennapod/service/download/DownloadService.java +++ b/src/de/danoeh/antennapod/service/download/DownloadService.java @@ -199,8 +199,8 @@ public class DownloadService extends Service { this, DownloadActivity.class), PendingIntent.FLAG_UPDATE_CURRENT); - Bitmap icon = BitmapFactory.decodeResource(null, - android.R.drawable.stat_notify_sync_noanim); + Bitmap icon = BitmapFactory.decodeResource(getResources(), + R.drawable.stat_notify_sync); notificationBuilder = new NotificationCompat.Builder(this) .setContentTitle( getString(R.string.download_notification_title)) @@ -208,7 +208,7 @@ public class DownloadService extends Service { requester.getNumberOfDownloads() + getString(R.string.downloads_left)) .setOngoing(true).setContentIntent(pIntent).setLargeIcon(icon) - .setSmallIcon(android.R.drawable.stat_notify_sync_noanim); + .setSmallIcon(R.drawable.stat_notify_sync); startForeground(NOTIFICATION_ID, notificationBuilder.getNotification()); if (AppConfig.DEBUG) @@ -445,10 +445,10 @@ public class DownloadService extends Service { String.format( getString(R.string.download_report_content), successfulDownloads, failedDownloads)) - .setSmallIcon(android.R.drawable.stat_notify_sync) + .setSmallIcon(R.drawable.stat_notify_sync) .setLargeIcon( - BitmapFactory.decodeResource(null, - android.R.drawable.stat_notify_sync)) + BitmapFactory.decodeResource(getResources(), + R.drawable.stat_notify_sync)) .setContentIntent( PendingIntent.getActivity(this, 0, new Intent(this, DownloadLogActivity.class), 0))