Fix "Notification to Allow Messages" dialog is not compatible with dark theme

Use @*android:style/Theme.DeviceDefault.Dialog.Alert.DayNight
to fix dark theme problem.

Bug: 213617624
Test: manual visual
Change-Id: Id207db83e88afdef8b0d7720b4b9cf851cb8872d
This commit is contained in:
Hugh Chen
2022-08-11 09:37:23 +00:00
parent 563e0e0a01
commit 07a4675429

View File

@@ -2749,7 +2749,7 @@
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:permission="android.permission.BLUETOOTH_CONNECT" android:permission="android.permission.BLUETOOTH_CONNECT"
android:exported="true" android:exported="true"
android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.Alert"> android:theme="@*android:style/Theme.DeviceDefault.Dialog.Alert.DayNight">
<intent-filter android:priority="1"> <intent-filter android:priority="1">
<action android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REQUEST" /> <action android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REQUEST" />
<action android:name="android.bluetooth.device.action.CONNECTION_ACCESS_CANCEL" /> <action android:name="android.bluetooth.device.action.CONNECTION_ACCESS_CANCEL" />