commit | d0528e77c94ac4d742aaeb44134391fdace8aa1a | [log] [tgz] |
---|---|---|
author | Mårten Kongstad <amhk@google.com> | Fri May 26 13:24:21 2023 +0200 |
committer | Mårten Kongstad <amhk@google.com> | Fri Jun 09 13:13:49 2023 +0200 |
tree | b572919c1b368e9129dd122dccd0a664b13eab2e | |
parent | fa50e44ab654a20a99e4f07288288a954a4143be [diff] |
@FlaggedApi: add "flag" argument The old use of @FlaggedApi, for mainline moduels to hide APIs when boarding trains, is not used. Repurpose @FlaggedApi to be used with aconfig flags instead. Add an argument to the annotation that says which flag this API is guarded by. This annotation will be included in the API text tracking files (current.txt et al). Bug: 285075515 Test: m Change-Id: I234824a2357201193afa4c46f989a8c0ffaa4918
Libraries and utilities intended for use by module and framework code.
Since modules use the code in this project, it must adhere to mainline requirements, for example, by setting min_sdk_version in Soong modules.
This project uses a single source path for Java code. All Java code should go in the java
directory with subdirectories corresponding to the java package. Android.bp
files should go alongside the java source files, and should only include java source for a single java package to encourage good code hygiene.
Tests for java code should go in the javatests
directory and follow the same structure.