path: root/rbutil
diff options
authorDominik Riebeling <>2011-10-01 20:07:57 +0000
committerDominik Riebeling <>2011-10-01 20:07:57 +0000
commited15d53919fc6b9d7945230611f48b25f21caad3 (patch)
treedd534ada16dabc157ecc87dca09f1347b6e17811 /rbutil
parent4f56b50df45cf81370c3a29bd443b91cf5fca1b0 (diff)
Android: show Album Art in notification area.
Instead of showing the small Rockbox clef logo show the Album Art if available. If no Album Art is available show the clef logo about the same size as the Album Art. - The notification area process doesn't have permissions to access the SD card. Therefore the image needs to be read and set as Bitmap instead of simply setting the Uri to it as done in the widget. - Passing a full sized image to the Notification Manager can cause issues (Rockbox UI hanging, notification not updating anymore, force closes). Scale down the image to the same size the launcher icon has to avoid this. This also makes the logo shown when no Album Art is available have the same size which looks nicer than having different sizes. Album Art images are allowed to be wider since there is enough room. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
0 files changed, 0 insertions, 0 deletions