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

Commit d66cdb32 authored by John Reck's avatar John Reck
Browse files

Add a flag

Bug: 234181960
Test: make?
Change-Id: I6e3423d41aae6c6cc747eaf93947ba3958e1ad56
parent 677d75a1
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -28,6 +28,24 @@ license {
    ],
}

aconfig_declarations {
    name: "hwui_flags",
    package: "com.android.graphics.hwui.flags",
    srcs: [
        "aconfig/hwui_flags.aconfig",
    ],
}

java_aconfig_library {
    name: "hwui_flags_java_lib",
    aconfig_declarations: "hwui_flags",
}

cc_aconfig_library {
    name: "hwui_flags_cc_lib",
    aconfig_declarations: "hwui_flags",
}

cc_defaults {
    name: "hwui_defaults",
    defaults: [
@@ -139,6 +157,7 @@ cc_defaults {
                "libstatspull_lazy",
                "libstatssocket_lazy",
                "libtonemap",
                "hwui_flags_cc_lib",
            ],
        },
        host: {
+8 −0
Original line number Diff line number Diff line
package: "com.android.graphics.hwui.flags"

flag {
  name: "limited_hdr"
  namespace: "core_graphics"
  description: "API to enable apps to restrict the amount of HDR headroom that is used"
  bug: "234181960"
}
 No newline at end of file