From 7b0b1e167d6690fcce3537f2a8ad6bdfbd0cf2a1 Mon Sep 17 00:00:00 2001 From: Artur Satayev Date: Wed, 25 Mar 2020 14:53:39 +0000 Subject: [PATCH] Remove unsupportedappusage-annotation library. It is not needed anymore, and is replaced by "unsupportedappusage" library. Bug: 145132366 Test: m Change-Id: I589b3f80979e38ff81ff5f0ad2de1ae8df9c9f00 Merged-In: I589b3f80979e38ff81ff5f0ad2de1ae8df9c9f00 Exempt-From-Owner-Approval: clean up (cherry picked from commit 8612937cb6d1dd92e3e1d9a0c0791b5bb4177f8a) --- Android.bp | 16 ---------------- wifi/Android.bp | 1 - 2 files changed, 17 deletions(-) diff --git a/Android.bp b/Android.bp index 3aaf1eeb7203d..56f638ad69395 100644 --- a/Android.bp +++ b/Android.bp @@ -577,22 +577,6 @@ platform_compat_config { src: ":framework-annotation-proc", } -// A library including just UnsupportedAppUsage.java classes. -// -// Provided for target so that libraries can use it without depending on -// the whole of framework or the core platform API. -// -// Built for host so that the annotation processor can also use this annotation. -java_library { - name: "unsupportedappusage-annotation", - host_supported: true, - srcs: [ - "core/java/android/annotation/IntDef.java", - ], - - sdk_version: "core_current", -} - // A temporary build target that is conditionally included on the bootclasspath if // android.test.base library has been removed and which provides support for // maintaining backwards compatibility for APKs that target pre-P and depend on diff --git a/wifi/Android.bp b/wifi/Android.bp index d0f1a26f7dbf9..614786193a18a 100644 --- a/wifi/Android.bp +++ b/wifi/Android.bp @@ -81,7 +81,6 @@ java_library { libs: [ "framework-annotations-lib", "unsupportedappusage", // for android.compat.annotation.UnsupportedAppUsage - "unsupportedappusage-annotation", // for dalvik.annotation.compat.UnsupportedAppUsage "framework-telephony-stubs", ], srcs: [