forked from len0rd/rockbox
Android: Rework notification and change icon sizes to better meet the systems' standard.
The notification now announces the new track on track change, and the the area in the scrolled down notification area shows track infos (title, artist, album). Someone should check if it looks good on hdpi and ldpi screens as I can't verify it right now (emulator crashes). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28785 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c47d813451
commit
f5a461d182
17 changed files with 222 additions and 24 deletions
|
@ -117,10 +117,13 @@ public class RockboxService extends Service
|
|||
|
||||
/* Display a notification about us starting.
|
||||
* We put an icon in the status bar. */
|
||||
try {
|
||||
fg_runner = new RunForegroundManager(this);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
if (fg_runner == null)
|
||||
{
|
||||
try {
|
||||
fg_runner = new RunForegroundManager(this);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue