Skip to content

Commit

Permalink
Workaround import/export crash by locking orientation
Browse files Browse the repository at this point in the history
While #513 needs to be
fixed, this at very least prevents a crash with only mild user
inconvenience in a not commonly used activity
  • Loading branch information
TheLastProject committed Feb 7, 2024
1 parent a0aa19f commit d24366a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,12 @@
android:name=".preferences.SettingsActivity"
android:label="@string/settings"
android:theme="@style/AppTheme.NoActionBar" />
<!-- FIXME: locked screenOrientation is a workaround for https://github.com/CatimaLoyalty/Android/issues/1715, remove when https://github.com/CatimaLoyalty/Android/issues/513 is fixed -->
<activity
android:name=".ImportExportActivity"
android:label="@string/importExport"
android:exported="true"
android:screenOrientation="locked"
android:theme="@style/AppTheme.NoActionBar">

<!-- ZIP Intent Filter -->
Expand Down

0 comments on commit d24366a

Please sign in to comment.