mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-12 00:47:49 -04:00
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
This commit is contained in:
parent
73d0e14f44
commit
26a92fa9e1
2 changed files with 10 additions and 2 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue