1
0
Fork 0
forked from len0rd/rockbox
foxbox/android/src/org/rockbox
Dominik Riebeling ed15d53919 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://svn.rockbox.org/rockbox/trunk@30629 a1c6a512-1295-4272-9138-f99709370657
2011-10-01 20:07:57 +00:00
..
Helper Android: show Album Art in notification area. 2011-10-01 20:07:57 +00:00
monitors Android: Fix a few java warnings. Upgrade ndk platform to 2.0 (don't support 1.6 anymore). 2011-08-14 08:55:16 +00:00
widgets Android: Fix widget albumart display on pre-2.2 devices. 2011-03-16 11:38:49 +00:00
RockboxActivity.java Disable android status bar again, until we have a generic theme solution. 2011-09-30 06:30:10 +00:00
RockboxFramebuffer.java Android: Slightly rework logging to logcat by offloading duplicated code to a new helper class. 2011-07-18 21:26:03 +00:00
RockboxKeyboardInput.java Android: get rid of warnings (no functional changes) 2011-03-11 15:46:02 +00:00
RockboxPCM.java Android: Fix a few java warnings. Upgrade ndk platform to 2.0 (don't support 1.6 anymore). 2011-08-14 08:55:16 +00:00
RockboxService.java Android: store resources on SD card. 2011-09-04 19:07:14 +00:00
RockboxYesno.java Android: get rid of warnings (no functional changes) 2011-03-11 15:46:02 +00:00