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

Commit 2157c897 authored by Anton Hansson's avatar Anton Hansson
Browse files

Add SuppressLint to framework-annotations-lib

Not having this on the classpath causes metalava to ignore
@SuppressLint annotations on APIs.

(The annotation has CLASS retention).

Bug: 172266358
Test: m <framework-module>-check-current-api (with suppressions)
Change-Id: I4aeecf6f067f5c141c6f2a31c9e8b46df3ff7e6a
parent 522e0728
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -655,6 +655,7 @@ filegroup {
        "core/java/android/annotation/RequiresPermission.java",
        "core/java/android/annotation/RequiresPermission.java",
        "core/java/android/annotation/SdkConstant.java",
        "core/java/android/annotation/SdkConstant.java",
        "core/java/android/annotation/StringDef.java",
        "core/java/android/annotation/StringDef.java",
        "core/java/android/annotation/SuppressLint.java",
        "core/java/android/annotation/SystemApi.java",
        "core/java/android/annotation/SystemApi.java",
        "core/java/android/annotation/SystemService.java",
        "core/java/android/annotation/SystemService.java",
        "core/java/android/annotation/TestApi.java",
        "core/java/android/annotation/TestApi.java",