Add theme to widget mask to have light/dark mode

Without the theme, the colors do not change when in dark mode.

Fix: 187907544
Test: Put a WP widget, turn off WP, turn dark mode on/off
Change-Id: I682ea35667abe7f584788e06495bd2968ce45b34
This commit is contained in:
Pierre Barbier de Reuille
2021-05-19 23:10:00 +01:00
parent 330f8f000d
commit 2a147b04b1

View File

@@ -15,6 +15,7 @@ Copyright (C) 2015 The Android Open Source Project
limitations under the License.
-->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:theme="@android:style/Theme.DeviceDefault.DayNight"
android:id="@android:id/background"
android:layout_width="match_parent"
android:layout_height="match_parent"