Only one action bar needed

And it's provided by the Activity.

Test: notification history does not crash
Bug: 184695659
Change-Id: I5a4c882c42b894601306826006152684bb499b51
This commit is contained in:
Julia Reynolds
2021-04-14 16:16:36 -04:00
parent a12666a3ad
commit 98b8716e0a
2 changed files with 6 additions and 1 deletions

View File

@@ -1296,7 +1296,7 @@
<activity
android:name=".notification.history.NotificationHistoryActivity"
android:exported="true"
android:theme="@android:style/Theme.DeviceDefault.DayNight"
android:theme="@style/Theme.NotificationHistory"
android:label="@string/notification_history_title">
<intent-filter android:priority="1">
<action android:name="android.settings.NOTIFICATION_HISTORY" />

View File

@@ -280,4 +280,9 @@
<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>
</style>
</resources>