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

Commit 1c350537 authored by Nino Jagar's avatar Nino Jagar
Browse files

Onboard content protection flags

Bug: 301658008
Test: Manual with a test flag
Change-Id: I0d58859f3a7f6b48045a868b728c79610e19225b
parent 32e9dd70
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ aconfig_srcjars = [
    ":android.multiuser.flags-aconfig-java{.generated_srcjars}",
    ":android.app.flags-aconfig-java{.generated_srcjars}",
    ":android.credentials.flags-aconfig-java{.generated_srcjars}",
    ":android.view.contentprotection.flags-aconfig-java{.generated_srcjars}",
]

filegroup {
@@ -369,3 +370,16 @@ java_aconfig_library {
    aconfig_declarations: "android.credentials.flags-aconfig",
    defaults: ["framework-minus-apex-aconfig-java-defaults"],
}

// Content Protection
aconfig_declarations {
    name: "android.view.contentprotection.flags-aconfig",
    package: "android.view.contentprotection.flags",
    srcs: ["core/java/android/view/contentprotection/flags/*.aconfig"],
}

java_aconfig_library {
    name: "android.view.contentprotection.flags-aconfig-java",
    aconfig_declarations: "android.view.contentprotection.flags-aconfig",
    defaults: ["framework-minus-apex-aconfig-java-defaults"],
}
+8 −0
Original line number Diff line number Diff line
package: "android.view.contentprotection.flags"

flag {
    name: "blocklist_update_enabled"
    namespace: "content_protection"
    description: "If true, content protection blocklist is mutable and can be updated."
    bug: "301658008"
}