Fix launchMode of TvUnblockSensorActivity.

Unblock bottom sheet was showing multiple times in some apps. LaunchMode
change prevents it from doing so and now matches the mobile equivalent
of the dialog.

Test: enable camera privacy and open Duo with a camera attached to the
device.
Bug: 198129996

Change-Id: If014e8c3b6dbb5420c520b2c0ce3941d6074079e
This commit is contained in:
Jacqueline Bronger
2021-08-31 09:58:23 +00:00
parent ab2300d17d
commit dfba637b72

View File

@@ -463,6 +463,7 @@
<!-- started from SensoryPrivacyService -->
<activity android:name=".sensorprivacy.television.TvUnblockSensorActivity"
android:exported="true"
android:launchMode="singleTop"
android:permission="android.permission.MANAGE_SENSOR_PRIVACY"
android:theme="@style/BottomSheet"
android:finishOnCloseSystemDialogs="true">