Skip to content

Commit

Permalink
Ignore forced use of "nosensor" orientation
Browse files Browse the repository at this point in the history
  • Loading branch information
t895 authored and thestinger committed Jan 4, 2025
1 parent 241cafc commit 789a2bb
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
android:windowSoftInputMode="stateAlwaysHidden|adjustPan"
android:screenOrientation="nosensor"
android:exported="true"
android:theme="@style/Theme.Camera">
android:theme="@style/Theme.Camera"
tools:ignore="DiscouragedApi">

<intent-filter>
<action android:name="android.intent.action.MAIN"/>
Expand Down Expand Up @@ -74,7 +75,8 @@
android:showWhenLocked="true"
android:excludeFromRecents="true"
android:exported="true"
android:theme="@style/Theme.Camera">
android:theme="@style/Theme.Camera"
tools:ignore="DiscouragedApi">

<intent-filter>
<action android:name="android.media.action.STILL_IMAGE_CAMERA_SECURE"/>
Expand All @@ -92,7 +94,8 @@
android:configChanges="orientation|keyboardHidden|screenSize"
android:windowSoftInputMode="stateAlwaysHidden|adjustPan"
android:screenOrientation="nosensor"
android:exported="true">
android:exported="true"
tools:ignore="DiscouragedApi">

<intent-filter>
<action android:name="android.media.action.VIDEO_CAMERA"/>
Expand All @@ -111,7 +114,8 @@
android:windowSoftInputMode="stateAlwaysHidden|adjustPan"
android:screenOrientation="nosensor"
android:visibleToInstantApps="true"
android:exported="true">
android:exported="true"
tools:ignore="DiscouragedApi">

<intent-filter>
<action android:name="android.media.action.IMAGE_CAPTURE"/>
Expand All @@ -131,7 +135,8 @@
android:screenOrientation="nosensor"
android:showWhenLocked="true"
android:excludeFromRecents="true"
android:exported="true">
android:exported="true"
tools:ignore="DiscouragedApi">

<intent-filter>
<action android:name="android.media.action.IMAGE_CAPTURE_SECURE"/>
Expand All @@ -151,7 +156,8 @@
android:windowSoftInputMode="stateAlwaysHidden|adjustPan"
android:screenOrientation="nosensor"
android:visibleToInstantApps="true"
android:exported="true">
android:exported="true"
tools:ignore="DiscouragedApi">

<intent-filter>
<action android:name="android.media.action.VIDEO_CAPTURE"/>
Expand Down Expand Up @@ -194,7 +200,8 @@
android:exported="true"
android:showWhenLocked="true"
android:screenOrientation="nosensor"
android:excludeFromRecents="true"/>
android:excludeFromRecents="true"
tools:ignore="DiscouragedApi" />

</application>

Expand Down

0 comments on commit 789a2bb

Please sign in to comment.