src/doc: introduce option --no-render in HTML phase.
[nit.git] / lib / android / landscape.nit
index a3fceaf..be79eb5 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Config to set the landscape orientation
-module landscape is android_manifest_activity """
-               android:screenOrientation="landscape"
-"""
+# Lock the application in the landscape orientation
+#
+# Adds `android:screenOrientation=="sensorLandscape"` to the manifest.
+module landscape is
+       android_api_min 9
+       android_manifest_activity """android:screenOrientation="sensorLandscape" """
+end
 
 import platform