-
evitayan authored
Annotations like @SystemApi should not be statically included and jarjared because it will cause declaration mismatch and fail the testAnnotation CTS Eventually module IKE should be able to set sdk_version to a module API type so that IKE can be restricted to only have system and public API dependencies and can access to Android annotations at the same time. See b/146757305. Before the module API is ready, this commit makes IKE build against "core_platform" and include annotation libs, system and public API stubs as a workaround. Bug: 147812912 Test: build, flash, reboot Test: atest FrameworksIkeTests (passing) Test: CtsSystemApiAnnotationTestCases:AnnotationTest#testAnnotation (no failure on ike) Change-Id: I7b60e945a29a7c8c3e451c7aa910b213f010485b
cfa7079d
Loading