From 23235e610eb369d813fd3685b3283dc94b59e65c Mon Sep 17 00:00:00 2001 From: Sundong Ahn Date: Tue, 16 Jan 2018 16:03:16 +0900 Subject: Add LOCAL_SDK_VERSION in jsr330 The jsr330 is using only public API. However it is defined java:platform which can use internal API, since it is not defined LOCAL_SDK_VERSION. So, LOCAL_SDK_VERSION := current is added in jsr330, because it can be turn into errors when link type check becomes more strict. Bug: 69899800 Test: mma -j under system-helper dir Change-Id: I1167ffb5a8543f2de8ac27e4b63637be6bf803fd --- Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/Android.bp b/Android.bp index 834d71e..771e6f3 100644 --- a/Android.bp +++ b/Android.bp @@ -23,6 +23,7 @@ java_library_static { name: "jsr330", host_supported: true, hostdex: true, + sdk_version: "current", srcs: ["src/**/*.java"], } // -- cgit v1.2.3