Android: Work around an android bug.
commit4d2ab32339fb8e7c02841e52d35498081503d188
authorThomas Martitz <kugel@rockbox.org>
Sat, 22 Oct 2011 15:28:09 +0000 (22 15:28 +0000)
committerThomas Martitz <kugel@rockbox.org>
Sat, 22 Oct 2011 15:28:09 +0000 (22 15:28 +0000)
tree16ae417c7bc5666aea97a5da41d839e831967ecb
parent5c509d17db86e889560e7d938b5a7acf083948e2
Android: Work around an android bug.

BitmapFactory.decodeFile() fails when called outside the main thread.
Work around by running the code on the main thread. This also has the advantage
of off-loading from the Rockbox thread which should improve track skipping
delays.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30825 a1c6a512-1295-4272-9138-f99709370657
android/src/org/rockbox/Helper/RunForegroundManager.java