From a7d4dcb83537ec52b6ebb5ed201990939c12cb33 Mon Sep 17 00:00:00 2001 From: Aram Ju Date: Wed, 26 Mar 2025 10:52:26 +0900 Subject: [PATCH] ignore screenOrientation Google recommendation on Android 16 : "Remove resizing and orientation restrictions from your app to support large screen devices" --- zxing-android-embedded/AndroidManifest.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/zxing-android-embedded/AndroidManifest.xml b/zxing-android-embedded/AndroidManifest.xml index d3e61770d..25585e9ed 100644 --- a/zxing-android-embedded/AndroidManifest.xml +++ b/zxing-android-embedded/AndroidManifest.xml @@ -14,7 +14,9 @@ See the License for the specific language governing permissions and limitations under the License. --> - + @@ -35,7 +37,8 @@ android:screenOrientation="sensorLandscape" android:stateNotNeeded="true" android:theme="@style/zxing_CaptureTheme" - android:windowSoftInputMode="stateAlwaysHidden"/> + android:windowSoftInputMode="stateAlwaysHidden" + tools:ignore="DiscouragedApi" />