Skip to content

Commit 5a3c191

Browse files
authored
Merge pull request #251 from shiguredo/feature/fix-android-hello-not-to-dispose-when-orientation-change
android の hello アプリ回転時に再起動が走らないようにする
2 parents eecb962 + a4bc235 commit 5a3c191

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@
5353
- @torikizi
5454
- [FIX] sumomo で audio_device をデフォルト無効にしていたのを修正する
5555
- @torikizi
56+
- [FIX] android の hello アプリについて回転時やスクリーンサイズの変更時に Activity の再起動が行われないようにする
57+
- AndroidManifest.xml の `android:configChanges``"orientation|screenSize|smallestScreenSize|screenLayout"` を設定する
58+
- @miosakuma
5659
- [FIX] GitHub Actions の build.yml で CUDA パッケージを ubuntu のバージョンに合わせるようにする
5760
- @voluntas
5861

test/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
android:theme="@style/Theme.Hello">
1818
<activity
1919
android:name=".MainActivity"
20+
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
2021
android:exported="true">
2122
<intent-filter>
2223
<action android:name="android.intent.action.MAIN" />

0 commit comments

Comments
 (0)