From 3c3825d8a0b111072f19ebc865afd7f225f65364 Mon Sep 17 00:00:00 2001 From: j05t Date: Wed, 9 Oct 2024 14:57:08 +0200 Subject: [PATCH] lock to portrait screen orientation --- app/build.gradle.kts | 4 ++-- app/src/main/AndroidManifest.xml | 11 ++++++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index bc66630..dc3ef2a 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -11,8 +11,8 @@ android { applicationId = "com.jstappdev.e6bflightcomputer" minSdk = 26 targetSdk = 35 - versionCode = 11 - versionName = "1.1" + versionCode = 12 + versionName = "1.2" } buildTypes { diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 51d1c73..91927df 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -8,20 +8,25 @@ android:fullBackupContent="@xml/backup_rules" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" - android:supportsRtl="true" android:roundIcon="@mipmap/ic_launcher" + android:supportsRtl="true" android:theme="@style/Theme.E6BFlightComputer" tools:targetApi="31"> + android:screenOrientation="portrait" + android:theme="@style/Theme.E6BFlightComputer" + tools:ignore="DiscouragedApi,LockedOrientationActivity"> - + \ No newline at end of file