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

Commit d82cbc7c authored by Anton Hansson's avatar Anton Hansson
Browse files

Trim leading src-dir from Ravenwood sources

Soong uses the directory structure to guess the java package, and
"annotations-src" is not a package considered for APIs. Remove the
prefix such that soong sees the correct package android.*.

Hide the Ravenwood classes for now.

Test: m checkapi
Change-Id: I430009deb7df2beac1736c4a68ff6fa1a3be572a
parent c2bc3752
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ filegroup {
    srcs: [
        "annotations-src/**/*.java",
    ],
    path: "annotations-src",
    visibility: ["//visibility:public"],
}

+2 −0
Original line number Diff line number Diff line
@@ -30,6 +30,8 @@ import java.lang.annotation.Target;
 *
 * The method must be {@code public static} with a single argument that takes
 * {@link Class}.
 *
 * @hide
 */
@Target({TYPE})
@Retention(RetentionPolicy.CLASS)
+1 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ import java.lang.annotation.Target;
 *
 * TODO: Javadoc
 *
 * @hide
 */
@Target({TYPE, FIELD, METHOD, CONSTRUCTOR})
@Retention(RetentionPolicy.CLASS)
+2 −0
Original line number Diff line number Diff line
@@ -26,6 +26,8 @@ import java.lang.annotation.Target;
 * QUESTIONS ABOUT IT.
 *
 * TODO: Javadoc
 *
 * @hide
 */
@Target({TYPE})
@Retention(RetentionPolicy.CLASS)
+2 −0
Original line number Diff line number Diff line
@@ -29,6 +29,8 @@ import java.lang.annotation.Target;
 * QUESTIONS ABOUT IT.
 *
 * TODO: Javadoc
 *
 * @hide
 */
@Target({TYPE, FIELD, METHOD, CONSTRUCTOR})
@Retention(RetentionPolicy.CLASS)
Loading