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

Commit 41318e03 authored by Ram Parameswaran's avatar Ram Parameswaran
Browse files

Explicitly set default display in cutout flag

As this change explicitly sets a value that is equivalent to the default value, it should be a no-op for direct users. However, this change allows AppCompat/ MaterialComponent themes (which indirectly inherit from DeviceDefault) to have a value of default regardless of values set in DeviceDefault themes.

Bug: 286265906

Change-Id: Ia1f1dfad73f3bc8e421660948005beae71ea9a1a
parent 37743813
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -409,6 +409,9 @@ please see themes_device_defaults.xml.
        <!-- Tooltip popup properties -->
        <item name="tooltipForegroundColor">@color/foreground_material_light</item>
        <item name="tooltipBackgroundColor">@color/tooltip_background_light</item>

        <!-- Display cutout properties -->
        <item name="android:windowLayoutInDisplayCutoutMode">default</item>
    </style>

    <!-- Material theme (light version). -->
@@ -785,6 +788,9 @@ please see themes_device_defaults.xml.
        <!-- Tooltip popup properties -->
        <item name="tooltipForegroundColor">@color/foreground_material_dark</item>
        <item name="tooltipBackgroundColor">@color/tooltip_background_dark</item>

        <!-- Display cutout properties -->
        <item name="android:windowLayoutInDisplayCutoutMode">default</item>
    </style>

    <!-- Variant of the material (light) theme that has a solid (opaque) action bar