diff --git a/buildozer/__init__.py b/buildozer/__init__.py index ad16045..f53d62b 100644 --- a/buildozer/__init__.py +++ b/buildozer/__init__.py @@ -409,7 +409,7 @@ class Buildozer(object): ', required by "version.regex"') 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') if errors: diff --git a/buildozer/default.spec b/buildozer/default.spec index e2d5ab7..5e9692d 100644 --- a/buildozer/default.spec +++ b/buildozer/default.spec @@ -51,7 +51,7 @@ requirements = python3,kivy # (str) Icon of the application #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 # (list) List of service to declare