summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-07-14 01:04:43 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-07-14 01:04:43 +0000
commitdb4e05e246dc83f0f215429072d5173c389c5827 (patch)
tree38ac2641bca85c9bab6814231ffa907408abfa30
parent326be075a2fcad24e66ccdad409ed0a4e5fba726 (diff)
parent0cd936d517f2f1e55733db015be5890dfe18def7 (diff)
downloadCellBroadcastReceiver-db4e05e246dc83f0f215429072d5173c389c5827.tar.gz
Change-Id: Ie83f5dfed5c167f11dab2d49be51f4bc3c01cc73
-rw-r--r--AndroidManifest.xml2
-rw-r--r--res/values/overlayable.xml2
-rw-r--r--res/values/themes.xml3
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>