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
This commit is contained in:
Thomas Martitz 2010-09-12 09:50:45 +00:00
parent cbbbe60dbf
commit 0e0baaa08e

View file

@ -6,6 +6,7 @@
android:installLocation="auto"> android:installLocation="auto">
<application android:icon="@drawable/launcher" android:label="@string/app_name" android:debuggable="true"> <application android:icon="@drawable/launcher" android:label="@string/app_name" android:debuggable="true">
<activity android:name=".RockboxActivity" <activity android:name=".RockboxActivity"
android:launchMode="singleTask"
android:label="@string/app_name" android:label="@string/app_name"
android:screenOrientation="portrait" android:screenOrientation="portrait"
android:configChanges="orientation|keyboardHidden" > android:configChanges="orientation|keyboardHidden" >
@ -19,4 +20,4 @@
</application> </application>
<uses-sdk android:minSdkVersion="4" /> <uses-sdk android:minSdkVersion="4" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
</manifest> </manifest>