1
0
Fork 0
forked from len0rd/rockbox

Initialize (instantiate) RockboxFramebuffer from the C code like with the othe java objects.

Remove some @Override annotations to make the Java code build with certain javac versions.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28386 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2010-10-29 23:12:08 +00:00
parent 669a327a2e
commit 6bb7522852
5 changed files with 59 additions and 59 deletions

View file

@ -52,7 +52,7 @@ public class RockboxActivity extends Activity
/* Now it gets a bit tricky:
* The service is started in the same thread as we are now,
* but the service also initializes the framebuffer
* Unforunately, this happens *after* any of the default
* Unfortunately, this happens *after* any of the default
* startup methods of an activity, so we need to poll for it
*
* In order to get the fb, we need to let the Service start up
@ -71,7 +71,7 @@ public class RockboxActivity extends Activity
}
/* drawing needs to happen in ui thread */
runOnUiThread(new Runnable()
{ @Override
{
public void run() {
loadingdialog.dismiss();
setContentView(RockboxService.fb);