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

Commit 6aa25ec9 authored by Artur Satayev's avatar Artur Satayev
Browse files

Add new UnsupportedAppUsage annotation as lib dependency.

Bug: 145132366
Test: m
Change-Id: Ibb7f8424186149365354a96249c06c9fccde66bd
parent f3c1392b
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -379,7 +379,9 @@ java_defaults {

    sdk_version: "core_platform",
    libs: [
        "app-compat-annotations",
        "ext",
        "unsupportedappusage",
        "updatable_media_stubs",
    ],

@@ -427,7 +429,6 @@ java_library {
    name: "framework-minus-apex",
    defaults: ["framework-defaults"],
    srcs: [":framework-non-updatable-sources"],
    libs: ["app-compat-annotations"],
    installable: true,
    javac_shard_size: 150,
    required: [
@@ -474,7 +475,6 @@ java_library {
    defaults: ["framework-defaults"],
    srcs: [":framework-all-sources"],
    installable: false,
    libs: ["app-compat-annotations"],
    static_libs: ["exoplayer2-core"],
    apex_available: ["//apex_available:platform"],
}
@@ -483,7 +483,10 @@ java_library {
    name: "framework-annotation-proc",
    defaults: ["framework-aidl-export-defaults"],
    srcs: [":framework-all-sources"],
    libs: ["app-compat-annotations"],
    libs: [
        "app-compat-annotations",
        "unsupportedappusage",
    ],
    installable: false,
    plugins: [
        "unsupportedappusage-annotation-processor",
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ droiddoc {
        "android.test.runner",
        "junit",
        "android.test.base",
        "unsupportedappusage",
    ],
    custom_template: "droiddoc-templates-sdk",
    installable: false,
+1 −0
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ java_defaults {
        "android.hardware.tetheroffload.control-V1.0-java",
        "tethering-client",
    ],
    libs: ["unsupportedappusage"],
    manifest: "AndroidManifestBase.xml",
}

+1 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ java_sdk_library {
    libs: [
        "framework-all",
        "app-compat-annotations",
        "unsupportedappusage",
    ],

    api_packages: [