Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab833602 authored by Joel Galenson's avatar Joel Galenson
Browse files

Make dialogs dark in dark mode.

Fixes: 129416838
Test: View dialogs in light and dark mode.
Change-Id: Ia842b05f678164c84cd9c6c266069e00134a0875
parent 41434b75
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -141,11 +141,11 @@

        <activity android:name="com.android.packageinstaller.permission.ui.LocationProviderInterceptDialog"
                  android:excludeFromRecents="true"
                  android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar" />
                  android:theme="@style/PermissionDialog" />

        <activity android:name="com.android.packageinstaller.permission.ui.ReviewOngoingUsageActivity"
                  android:excludeFromRecents="true"
                  android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar"
                  android:theme="@style/PermissionDialog"
                  android:launchMode="singleInstance"
                  android:permission="android.permission.GRANT_RUNTIME_PERMISSIONS" >
            <intent-filter android:priority="1">
@@ -156,7 +156,7 @@

        <activity android:name="com.android.packageinstaller.permission.ui.ReviewAccessibilityServicesActivity"
                  android:excludeFromRecents="true"
                  android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar"
                  android:theme="@style/PermissionDialog"
                  android:permission="android.permission.REVIEW_ACCESSIBILITY_SERVICES" >
            <intent-filter android:priority="1">
                <action android:name="android.intent.action.REVIEW_ACCESSIBILITY_SERVICES" />
+4 −0
Original line number Diff line number Diff line
@@ -30,4 +30,8 @@
           parent="@android:style/Theme.DeviceDefault.Dialog">
        <item name="android:background">@color/google_grey_800</item>
    </style>

    <style name="PermissionDialog"
           parent="@android:style/Theme.DeviceDefault.Dialog.NoActionBar">
    </style>
</resources>
 No newline at end of file
+4 −0
Original line number Diff line number Diff line
@@ -64,4 +64,8 @@
           parent="@android:style/Theme.DeviceDefault.Light.Dialog">
    </style>

    <style name="PermissionDialog"
           parent="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar">
    </style>

</resources>