summaryrefslogtreecommitdiff
path: root/android/android.make
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2011-06-04 10:36:34 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2011-06-04 10:36:34 +0000
commit26a92fa9e17fc659ad1cd27b2365493df0d16950 (patch)
tree0716c42667a2663647ffe04c1a98a281f3d84f1e /android/android.make
parent73d0e14f4494b98e0c781934fbf19efa8d6d8418 (diff)
downloadrockbox-26a92fa9e17fc659ad1cd27b2365493df0d16950.zip
rockbox-26a92fa9e17fc659ad1cd27b2365493df0d16950.tar.gz
rockbox-26a92fa9e17fc659ad1cd27b2365493df0d16950.tar.bz2
rockbox-26a92fa9e17fc659ad1cd27b2365493df0d16950.tar.xz
Android: adjust screen orientation based on LCD size.
If the screen size specified is wider than higher specify the orientation as landscape in AndroidManifest.xml. This usually applies to tablets where Rockbox in portrait mode feels unnatural. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29951 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'android/android.make')
-rw-r--r--android/android.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/android.make b/android/android.make
index f12b797..56b650a 100644
--- a/android/android.make
+++ b/android/android.make
@@ -68,7 +68,7 @@ JAVAC_OPTS += -implicit:none -classpath $(ANDROID_PLATFORM)/android.jar:$(BUILDD
.PHONY:
$(MANIFEST): $(MANIFEST_SRC) $(DIRS)
- $(call PRINTS,MANIFEST $(@F))sed -e 's/versionName="1.0"/versionName="$(SVNVERSION)"/' $(MANIFEST_SRC) > $(MANIFEST)
+ $(call PRINTS,MANIFEST $(@F))sed -e 's/versionName="1.0"/versionName="$(SVNVERSION)"/;s/screenOrientation="portrait"/screenOrientation="$(LCDORIENTATION)"/' $(MANIFEST_SRC) > $(MANIFEST)
$(R_JAVA) $(AP_): $(MANIFEST) $(RES) | $(DIRS)
$(call PRINTS,AAPT $(subst $(BUILDDIR)/,,$@))$(AAPT) package -f -m \