diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-08-03 23:23:33 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-08-03 23:23:33 +0000 |
commit | f66a233bdbbf5c772903a744938d7333da1b53bf (patch) | |
tree | 5871d67233c33e8927b05bbaf268c57e5c90afbd /android | |
parent | 5da2304f85206a0e8a6ae00dd0530b637cb2c898 (diff) |
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
Diffstat (limited to 'android')
-rw-r--r-- | android/AndroidManifest.xml | 4 | ||||
-rw-r--r-- | android/src/org/rockbox/RockboxActivity.java | 2 |
2 files changed, 4 insertions, 2 deletions
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"> <application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true"> <activity android:name=".RockboxActivity" - android:label="@string/app_name"> + android:label="@string/app_name" + android:screenOrientation="portrait" + android:configChanges="orientation|keyboardHidden" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> 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 |