diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2010-11-05 23:52:26 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2010-11-05 23:52:26 +0000 |
commit | 1b477de3cb3b310d79a4addfa566e8c89cf13081 (patch) | |
tree | 57d1d391174731d868e52cad904fa96955224207 /android/src | |
parent | fe2be33318dc8d83778708da468369e1e4f79cbe (diff) |
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
Diffstat (limited to 'android/src')
-rw-r--r-- | android/src/org/rockbox/RockboxActivity.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/android/src/org/rockbox/RockboxActivity.java b/android/src/org/rockbox/RockboxActivity.java index ec22885c51..c9681e306c 100644 --- a/android/src/org/rockbox/RockboxActivity.java +++ b/android/src/org/rockbox/RockboxActivity.java @@ -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 */ |