From 5f7e2935ec1b0f94efdcfbd0d6370f5b168b4fd8 Mon Sep 17 00:00:00 2001 From: AlexanderAlferov <64849422+AlexanderAlferov@users.noreply.github.com> Date: Wed, 24 Jun 2020 17:10:39 +0300 Subject: [PATCH] Fix/screen orientation (#738) * New feature: key retrieval on risk level refresh * refresh the last time diagnosis keys fetched after transaction call * TimerHelper update added * Constants tests * Formatting * Fix activity screen orientation. This solution was proposed by open source contributor: ironjan Co-authored-by: Philipp Woessner <philipp.woessner@sap.com> --- Corona-Warn-App/src/main/AndroidManifest.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Corona-Warn-App/src/main/AndroidManifest.xml b/Corona-Warn-App/src/main/AndroidManifest.xml index 33621bc65..7a6b385e4 100644 --- a/Corona-Warn-App/src/main/AndroidManifest.xml +++ b/Corona-Warn-App/src/main/AndroidManifest.xml @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" + tools:ignore="LockedOrientationActivity" package="de.rki.coronawarnapp"> <uses-sdk tools:overrideLibrary="com.google.zxing.client.android" /> @@ -37,6 +38,7 @@ <activity android:name=".ui.LauncherActivity" + android:screenOrientation="portrait" android:theme="@style/AppTheme.Launcher"> <intent-filter> <action android:name="android.intent.action.MAIN" /> @@ -46,10 +48,12 @@ <activity android:name=".ui.main.MainActivity" android:exported="false" + android:screenOrientation="portrait" android:theme="@style/AppTheme.Main" /> <activity android:name=".ui.onboarding.OnboardingActivity" android:exported="false" + android:screenOrientation="portrait" android:theme="@style/AppTheme.Onboarding" /> <activity android:name="com.journeyapps.barcodescanner.CaptureActivity" -- GitLab