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

Commit 0c27488a authored by Rahul Banerjee's avatar Rahul Banerjee
Browse files

Make bootanim multi-display aware

Also, some refactoring of existing code.

Flag: com.android.graphics.bootanimation.flags.multidisplay
Bug: 269510347
Test: Manual (build, flash, reboot in folded and unfolded states)
Change-Id: Ieb360f47cc38cab90b1eca471b0e773e303f88e2
parent 562064be
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -7,6 +7,18 @@ package {
    default_applicable_licenses: ["frameworks_base_license"],
}

aconfig_declarations {
    name: "bootanimation_flags",
    package: "com.android.graphics.bootanimation.flags",
    container: "system",
    srcs: ["bootanimation_flags.aconfig"],
}

cc_aconfig_library {
    name: "libbootanimationflags",
    aconfig_declarations: "bootanimation_flags",
}

cc_defaults {
    name: "bootanimation_defaults",

@@ -28,6 +40,10 @@ cc_defaults {
        "liblog",
        "libutils",
    ],

    static_libs: [
        "libbootanimationflags",
    ],
}

// bootanimation executable