support sensorLandscape mode. resolves #762
This commit is contained in:
parent
d77d9714ff
commit
c4c632f7da
2 changed files with 2 additions and 2 deletions
|
@ -409,7 +409,7 @@ class Buildozer(object):
|
||||||
', required by "version.regex"')
|
', required by "version.regex"')
|
||||||
|
|
||||||
orientation = get('app', 'orientation', 'landscape')
|
orientation = get('app', 'orientation', 'landscape')
|
||||||
if orientation not in ('landscape', 'portrait', 'all'):
|
if orientation not in ('landscape', 'portrait', 'all', 'sensorLandscape'):
|
||||||
adderror('[app] "orientation" have an invalid value')
|
adderror('[app] "orientation" have an invalid value')
|
||||||
|
|
||||||
if errors:
|
if errors:
|
||||||
|
|
|
@ -51,7 +51,7 @@ requirements = python3,kivy
|
||||||
# (str) Icon of the application
|
# (str) Icon of the application
|
||||||
#icon.filename = %(source.dir)s/data/icon.png
|
#icon.filename = %(source.dir)s/data/icon.png
|
||||||
|
|
||||||
# (str) Supported orientation (one of landscape, portrait or all)
|
# (str) Supported orientation (one of landscape, sensorLandscape, portrait or all)
|
||||||
orientation = portrait
|
orientation = portrait
|
||||||
|
|
||||||
# (list) List of service to declare
|
# (list) List of service to declare
|
||||||
|
|
Loading…
Reference in a new issue