forked from len0rd/rockbox
Android: don't display the loading screen etc. when the library is already loaded
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28510 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
fe2be33318
commit
1b477de3cb
1 changed files with 4 additions and 0 deletions
|
@ -49,6 +49,10 @@ public class RockboxActivity extends Activity
|
|||
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
|
||||
WindowManager.LayoutParams.FLAG_FULLSCREEN);
|
||||
|
||||
/* Do not try starting the service if it's already running */
|
||||
if (isRockboxRunning())
|
||||
return;
|
||||
|
||||
/* prepare a please wait dialog in case we need
|
||||
* to wait for unzipping libmisc.so
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue