Update the theme for Notification history page
Fix: 187241188
Test: visual verified
1) Enable the light theme
2) Settings > Notifications > Notification history
3) See if the color of icon in the status bar is white
Change-Id: I2f198a10b71d0d0f7c92db0feab2154a1c8f25c6
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 9b11fe8..265167e 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -1312,7 +1312,7 @@
<activity
android:name=".notification.history.NotificationHistoryActivity"
android:exported="true"
- android:theme="@style/Theme.NotificationHistory"
+ android:theme="@style/Theme.SubSettings"
android:label="@string/notification_history_title">
<intent-filter android:priority="1">
<action android:name="android.settings.NOTIFICATION_HISTORY" />
diff --git a/res/values/themes.xml b/res/values/themes.xml
index b5f71fa..af44276 100644
--- a/res/values/themes.xml
+++ b/res/values/themes.xml
@@ -254,11 +254,4 @@
<item name="colorPrimary">@*android:color/primary_device_default_settings_light</item>
<item name="colorAccent">@*android:color/accent_device_default_light</item>
</style>
-
- <style name="Theme.NotificationHistory" parent="@android:style/Theme.DeviceDefault.DayNight">
- <item name="android:windowActionBar">false</item>
- <item name="android:windowNoTitle">true</item>
- <item name="android:navigationBarColor">@android:color/transparent</item>
- <item name="android:statusBarColor">@android:color/transparent</item>
- </style>
</resources>