From 2cf19179f972d4c0dd6f0b48ec380776d4ea5cdf Mon Sep 17 00:00:00 2001 From: Caten Date: Mon, 9 Oct 2023 06:47:57 +0800 Subject: [PATCH] Fix keyboard plug in, streaming don't close --- README.md | 1 + android/app/src/main/AndroidManifest.xml | 2 +- lib/main.dart | 11 ++++------- lib/workflow.dart | 3 +++ 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 16631e0..96df385 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ assets的文件来源如下: - [proot](https://github.com/Cateners/proot), 使用[build-proot-android](https://github.com/green-green-avk/build-proot-android)脚本编译 - [busybox](https://github.com/meefik/busybox) +- [mediamtx相关](https://github.com/bluenviron/mediamtx) - [tar](https://github.com/Rprop/tar-android-static) - [Xserver XSDL, pulseaudio相关文件](https://github.com/pelya/commandergenius/tree/sdl_android/project/jni/application/xserver) - [Tmoe Linux, debian包来源](https://github.com/2moe/tmoe) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index e14dd6d..faa1c60 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -15,7 +15,7 @@ android:exported="true" android:launchMode="singleTop" android:theme="@style/LaunchTheme" - android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" + android:configChanges="navigation|orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize">