Change dialog theme for dialog activity.
Before this cl, all dialog activities use theme
Theme.DeviceDefault.Light.Dialog.NoActionBar. In this cl
we change it to Theme.DeviceDefault.Settings.Dialog.NoActionBar
Bug: 36099867
Bug: 36295409
Test: Screenshot
Change-Id: I2328aad1dce636f2314538d548a49f7a6401eae5
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 791be09..3091928 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -692,7 +692,7 @@
<activity android:name=".inputmethod.UserDictionaryAddWordActivity"
android:label="@string/user_dict_settings_title"
- android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar"
+ android:theme="@*android:style/Theme.DeviceDefault.Settings.Dialog.NoActionBar"
android:windowSoftInputMode="stateVisible"
android:noHistory="true"
android:excludeFromRecents="true">
@@ -1184,7 +1184,7 @@
</activity>
<activity android:name=".notification.ZenModeVoiceActivity"
- android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar"
+ android:theme="@*android:style/Theme.DeviceDefault.Settings.Dialog.NoActionBar"
android:label="@string/zen_mode_settings_title">
<intent-filter>
<action android:name="android.settings.VOICE_CONTROL_DO_NOT_DISTURB_MODE" />
@@ -1961,7 +1961,7 @@
<activity android:name=".bluetooth.BluetoothPairingDialog"
android:excludeFromRecents="true"
- android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar">
+ android:theme="@*android:style/Theme.DeviceDefault.Settings.Dialog.NoActionBar">
<intent-filter android:priority="1">
<action android:name="android.bluetooth.device.action.PAIRING_REQUEST" />
<category android:name="android.intent.category.DEFAULT" />
@@ -1993,14 +1993,14 @@
android:excludeFromRecents="true"
android:exported="true"
android:permission="android.permission.MANAGE_USB"
- android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar">
+ android:theme="@*android:style/Theme.DeviceDefault.Settings.Dialog.NoActionBar">
</activity>
<activity android:name=".RemoteBugreportActivity"
android:excludeFromRecents="true"
android:exported="true"
android:permission="android.permission.DUMP"
- android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar">
+ android:theme="@*android:style/Theme.DeviceDefault.Settings.Dialog.NoActionBar">
<intent-filter>
<action android:name="android.settings.SHOW_REMOTE_BUGREPORT_DIALOG" />
<category android:name="android.intent.category.DEFAULT" />
@@ -2721,7 +2721,7 @@
</activity>
<activity android:name=".sim.SimPreferenceDialog"
- android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar"
+ android:theme="@*android:style/Theme.DeviceDefault.Settings.Dialog.NoActionBar"
android:excludeFromRecents="true">
</activity>
@@ -2750,7 +2750,7 @@
</activity>
<activity android:name=".sim.SimDialogActivity"
- android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar"
+ android:theme="@*android:style/Theme.DeviceDefault.Settings.Dialog.NoActionBar"
android:label="@string/sim_settings_title"
android:excludeFromRecents="true">
<intent-filter>