Age | Commit message (Collapse) | Author |
|
New annotation is tools/platform-compat/annotation/src/java/android/compat/annotation/UnsupportedAppUsage.java.
Existing annotations in libcore/ and frameworks/ will be deleted after the migration:
- libcore/dalvik/src/main/java/dalvik/annotation/compat/UnsupportedAppUsage.java
- frameworks/base/core/java/android/annotation/UnsupportedAppUsage.java
This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library.
Bug: 145132366
Test: m && diff unsupportedappusage_index.csv
Exempt-From-Owner-Approval: +2 by owner, by vote lost on latest patch.
Change-Id: Ib5b7baa399cdc38da1d3ca622ba0ba26936b1b2d
|
|
Avoids splitting packages that are part of java.base.
Removes patch_module: "java.base" that was used to work around this
issue.
Bug: 143057012
Test: m checkbuild
Change-Id: Iad65343fd3fde55f2d3b0e68c4bbcd51377d85d9
|
|
Extracted VERSION_CODES as dalvik.system.VersionCodes for general use.
Bug: 119748646
Test: make checkbuild
Change-Id: I67a3ec8ebaf84096ae34ba79e18b11c242ba9811
|
|
Each primitive wrapper class provides an accessor method for retrieving
the value field, e.g. byteValue(), intValue() etc. so direct access to
the field is not required.
Bug: 118738172
Test: make checkbuild - blacklist by target SDK is not supported yet.
Change-Id: I7fc2e19c7b533e892b876635dd8add3e1a811ee6
|
|
Adds stubs for ojluni classes some of whose hidden members are used by
applications. Each such member is annotated with the UnsupportedAppUsage
annotation.
The stubs are built as part of the core-oj-hiddenapi target from which
the build will extract information about the hidden class members that
are used by applications.
This was tested by making and then manually checking that the generated
out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt was the
same (after sorting) before and after this change.
Test: see above
Bug: 117818301
Change-Id: Icfe773e00ba1f96a379b705f26ef631ec34fee5e
|