1
0
Fork 0
forked from len0rd/rockbox

Add a few forgotten files, Fix potential startup problem. Fix absolute touchscreen mode.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27693 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2010-08-04 12:25:25 +00:00
parent f0611f8781
commit 04dc00b7ca
6 changed files with 188 additions and 29 deletions

View file

@ -53,24 +53,21 @@ public class RockboxActivity extends Activity {
new Thread(new Runnable()
{
public void run() {
while (RockboxService.fb == null)
{
try {
Thread.sleep(250);
} catch (InterruptedException e) {
} catch (Exception e) {
LOG(e.toString());
try {
while (RockboxService.fb == null)
Thread.sleep(250);
} catch (InterruptedException e) {
} catch (Exception e) {
LOG(e.toString());
}
/* drawing needs to happen in ui thread */
runOnUiThread(new Runnable()
{ @Override
public void run() {
setContentView(RockboxService.fb);
RockboxService.fb.invalidate();
}
/* drawing needs to happen in ui thread */
runOnUiThread(new Runnable()
{ @Override
public void run() {
setContentView(RockboxService.fb);
RockboxService.fb.invalidate();
}
});
}
});
}
}).start();
}