From f66a233bdbbf5c772903a744938d7333da1b53bf Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Tue, 3 Aug 2010 23:23:33 +0000 Subject: Ignore screen orentiation changes and force portrait mode. We cannot handle it any time soon anyway. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27688 a1c6a512-1295-4272-9138-f99709370657 --- android/AndroidManifest.xml | 4 +++- android/src/org/rockbox/RockboxActivity.java | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'android') diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index 30acaf09f7..469baeae28 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -5,7 +5,9 @@ android:versionName="1.0"> + android:label="@string/app_name" + android:screenOrientation="portrait" + android:configChanges="orientation|keyboardHidden" > diff --git a/android/src/org/rockbox/RockboxActivity.java b/android/src/org/rockbox/RockboxActivity.java index eadfd5a40a..38bfec16ef 100644 --- a/android/src/org/rockbox/RockboxActivity.java +++ b/android/src/org/rockbox/RockboxActivity.java @@ -97,5 +97,5 @@ public class RockboxActivity extends Activity { private void LOG(CharSequence text) { Log.d("Rockbox", (String) text); - } + } } \ No newline at end of file -- cgit v1.2.3