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
This commit is contained in:
jackqdyulei
2017-03-22 13:33:51 -07:00
parent e39e8350a1
commit 71a0574141

View File

@@ -692,7 +692,7 @@
<activity android:name=".inputmethod.UserDictionaryAddWordActivity" <activity android:name=".inputmethod.UserDictionaryAddWordActivity"
android:label="@string/user_dict_settings_title" 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:windowSoftInputMode="stateVisible"
android:noHistory="true" android:noHistory="true"
android:excludeFromRecents="true"> android:excludeFromRecents="true">
@@ -1184,7 +1184,7 @@
</activity> </activity>
<activity android:name=".notification.ZenModeVoiceActivity" <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"> android:label="@string/zen_mode_settings_title">
<intent-filter> <intent-filter>
<action android:name="android.settings.VOICE_CONTROL_DO_NOT_DISTURB_MODE" /> <action android:name="android.settings.VOICE_CONTROL_DO_NOT_DISTURB_MODE" />
@@ -1961,7 +1961,7 @@
<activity android:name=".bluetooth.BluetoothPairingDialog" <activity android:name=".bluetooth.BluetoothPairingDialog"
android:excludeFromRecents="true" 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"> <intent-filter android:priority="1">
<action android:name="android.bluetooth.device.action.PAIRING_REQUEST" /> <action android:name="android.bluetooth.device.action.PAIRING_REQUEST" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
@@ -1993,14 +1993,14 @@
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:exported="true" android:exported="true"
android:permission="android.permission.MANAGE_USB" 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>
<activity android:name=".RemoteBugreportActivity" <activity android:name=".RemoteBugreportActivity"
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:exported="true" android:exported="true"
android:permission="android.permission.DUMP" 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> <intent-filter>
<action android:name="android.settings.SHOW_REMOTE_BUGREPORT_DIALOG" /> <action android:name="android.settings.SHOW_REMOTE_BUGREPORT_DIALOG" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
@@ -2721,7 +2721,7 @@
</activity> </activity>
<activity android:name=".sim.SimPreferenceDialog" <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"> android:excludeFromRecents="true">
</activity> </activity>
@@ -2750,7 +2750,7 @@
</activity> </activity>
<activity android:name=".sim.SimDialogActivity" <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:label="@string/sim_settings_title"
android:excludeFromRecents="true"> android:excludeFromRecents="true">
<intent-filter> <intent-filter>