diff options
-rw-r--r-- | AndroidManifest.xml | 2 | ||||
-rw-r--r-- | res/values/overlayable.xml | 2 | ||||
-rw-r--r-- | res/values/themes.xml | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 3911fe226..d3c6ebe8c 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -108,7 +108,7 @@ android:exported="true" /> <activity android:name="com.android.cellbroadcastreceiver.CellBroadcastAlertDialog" - android:theme="@android:style/Theme.DeviceDefault.Light.Dialog" + android:theme="@style/CellBroadcastAlertTheme" android:launchMode="singleTask" android:exported="false" android:excludeFromRecents="true" diff --git a/res/values/overlayable.xml b/res/values/overlayable.xml index 86401879b..b1be57b66 100644 --- a/res/values/overlayable.xml +++ b/res/values/overlayable.xml @@ -22,7 +22,7 @@ <!-- START VENDOR CUSTOMIZATION --> <policy type="product|system|vendor"> <!-- START THEME / STYLE --> - <item type="style" name="AlertFullScreenTheme"/> + <item type="style" name="CellBroadcastAlertTheme"/> <item type="style" name="PreferenceTheme"/> <item type="style" name="CellBroadcastSettingsTheme"/> <!-- END THEME / STYLE --> diff --git a/res/values/themes.xml b/res/values/themes.xml index 3ec1ce1ca..2028aa597 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -19,8 +19,7 @@ --> <resources> - <!-- This must be a fullscreen theme for the alarm to be able to turn the screen on. --> - <style name="AlertFullScreenTheme" parent="android:Theme.Material.Wallpaper.NoTitleBar" /> + <style name="CellBroadcastAlertTheme" parent="android:Theme.DeviceDefault.Light.Dialog" /> <style name="PreferenceTheme" parent="@style/PreferenceThemeOverlay.v14.Material"> <item name="switchPreferenceStyle">@style/SettingsSwitchPreference</item> |