Apply nosensor for face unlock enroll activities
Bug: 300351527
Test: Launch related activites on a foldable device with landscape mode
Change-Id: I0bcf48f09ec6177f19342bbe65fb5ea2e54a41d3
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 19927a2..e8ff440 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -2517,7 +2517,7 @@
<activity android:name=".biometrics.face.FaceEnrollIntroduction"
android:exported="true"
- android:screenOrientation="portrait">
+ android:screenOrientation="nosensor">
<intent-filter>
<action android:name="android.settings.FACE_ENROLL"/>
<category android:name="android.intent.category.DEFAULT"/>
@@ -2526,12 +2526,12 @@
<activity android:name=".biometrics.face.FaceEnrollIntroductionInternal"
android:exported="false"
- android:screenOrientation="portrait"
+ android:screenOrientation="nosensor"
android:taskAffinity="com.android.settings.root" />
<activity android:name=".biometrics.face.FaceEnrollEducation"
android:exported="false"
- android:screenOrientation="portrait"/>
+ android:screenOrientation="nosensor"/>
<activity android:name=".biometrics.face.FaceEnrollEnrolling"
android:exported="false"