summaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-09-12 09:50:45 +0000
committerThomas Martitz <kugel@rockbox.org>2010-09-12 09:50:45 +0000
commit0e0baaa08ec02c29dbb05d6470d0ad0a884cc0eb (patch)
treec7aa1ced348f32ae30dc0e976e0ff3c3a474b4bc /android
parentcbbbe60dbf407ef853a5e9be93f85ef53d7cfd06 (diff)
downloadrockbox-0e0baaa08ec02c29dbb05d6470d0ad0a884cc0eb.tar.gz
rockbox-0e0baaa08ec02c29dbb05d6470d0ad0a884cc0eb.tar.bz2
rockbox-0e0baaa08ec02c29dbb05d6470d0ad0a884cc0eb.zip
Android: Fix a problem where entered Rockbox multiple times (with multiple instances on the activity stack) until it was exited once with the back button.
Thanks to István Nagy for investigating and proposing this solution. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28060 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'android')
-rw-r--r--android/AndroidManifest.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml
index f1f1f2dede..45182418d0 100644
--- a/android/AndroidManifest.xml
+++ b/android/AndroidManifest.xml
@@ -6,6 +6,7 @@
android:installLocation="auto">
<application android:icon="@drawable/launcher" android:label="@string/app_name" android:debuggable="true">
<activity android:name=".RockboxActivity"
+ android:launchMode="singleTask"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:configChanges="orientation|keyboardHidden" >
@@ -19,4 +20,4 @@
</application>
<uses-sdk android:minSdkVersion="4" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
-</manifest> \ No newline at end of file
+</manifest>