Skip to content
Snippets Groups Projects
Unverified Commit 5f7e2935 authored by AlexanderAlferov's avatar AlexanderAlferov Committed by GitHub
Browse files

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: default avatarPhilipp Woessner <philipp.woessner@sap.com>
parent eba5d124
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
tools:ignore="LockedOrientationActivity"
package="de.rki.coronawarnapp"> package="de.rki.coronawarnapp">
<uses-sdk tools:overrideLibrary="com.google.zxing.client.android" /> <uses-sdk tools:overrideLibrary="com.google.zxing.client.android" />
...@@ -37,6 +38,7 @@ ...@@ -37,6 +38,7 @@
<activity <activity
android:name=".ui.LauncherActivity" android:name=".ui.LauncherActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.Launcher"> android:theme="@style/AppTheme.Launcher">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
...@@ -46,10 +48,12 @@ ...@@ -46,10 +48,12 @@
<activity <activity
android:name=".ui.main.MainActivity" android:name=".ui.main.MainActivity"
android:exported="false" android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.Main" /> android:theme="@style/AppTheme.Main" />
<activity <activity
android:name=".ui.onboarding.OnboardingActivity" android:name=".ui.onboarding.OnboardingActivity"
android:exported="false" android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.Onboarding" /> android:theme="@style/AppTheme.Onboarding" />
<activity <activity
android:name="com.journeyapps.barcodescanner.CaptureActivity" android:name="com.journeyapps.barcodescanner.CaptureActivity"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment