Apply nosensor for face unlock enroll activities

Bug: 300351527
Test: Launch related activites on a foldable device with landscape mode
Change-Id: I0bcf48f09ec6177f19342bbe65fb5ea2e54a41d3
This commit is contained in:
MiltonWu
2023-12-14 06:49:16 +00:00
parent d51a1dc4ca
commit bb544ffef2

View File

@@ -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"