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

Commit 323fdf26 authored by Alan Viverette's avatar Alan Viverette
Browse files

Add attribute to control forced dark mode

Bug: 102591313
Test: n/a just a new attribute not used anywhere yet
Change-Id: I046eb402f180b23627f4bfed6f3605c279c9378d
parent b1d24c0a
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -272,6 +272,7 @@ package android {
    field public static final int allowBackup = 16843392; // 0x1010280
    field public static final int allowBackup = 16843392; // 0x1010280
    field public static final int allowClearUserData = 16842757; // 0x1010005
    field public static final int allowClearUserData = 16842757; // 0x1010005
    field public static final int allowEmbedded = 16843765; // 0x10103f5
    field public static final int allowEmbedded = 16843765; // 0x10103f5
    field public static final int allowForceDark = 16844171; // 0x101058b
    field public static final int allowParallelSyncs = 16843570; // 0x1010332
    field public static final int allowParallelSyncs = 16843570; // 0x1010332
    field public static final int allowSingleTap = 16843353; // 0x1010259
    field public static final int allowSingleTap = 16843353; // 0x1010259
    field public static final int allowTaskReparenting = 16843268; // 0x1010204
    field public static final int allowTaskReparenting = 16843268; // 0x1010204
+3 −0
Original line number Original line Diff line number Diff line
@@ -3113,6 +3113,9 @@
             the alpha channel of the outlineAmbientShadowColor (typically opaque), and the
             the alpha channel of the outlineAmbientShadowColor (typically opaque), and the
             {@link android.R.attr#ambientShadowAlpha} theme attribute. -->
             {@link android.R.attr#ambientShadowAlpha} theme attribute. -->
        <attr name="outlineAmbientShadowColor" format="color" />
        <attr name="outlineAmbientShadowColor" format="color" />

        <!-- Whether to allow the rendering system to force this View to render as light-on-dark. -->
        <attr name="allowForceDark" format="boolean" />
    </declare-styleable>
    </declare-styleable>


    <!-- Attributes that can be assigned to a tag for a particular View. -->
    <!-- Attributes that can be assigned to a tag for a particular View. -->
+1 −0
Original line number Original line Diff line number Diff line
@@ -2907,6 +2907,7 @@
        <public name="opticalInsetTop" />
        <public name="opticalInsetTop" />
        <public name="opticalInsetRight" />
        <public name="opticalInsetRight" />
        <public name="opticalInsetBottom" />
        <public name="opticalInsetBottom" />
        <public name="allowForceDark" />
    </public-group>
    </public-group>


    <public-group type="style" first-id="0x010302e2">
    <public-group type="style" first-id="0x010302e2">