android_packages_modules_Co.../staticlibs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Cole Faust 53da9ac34c Prepare for @RequiresApi class retention
The android framework has android.annotation.RequiresApi, which is a
copy of androidx.annotation.RequiresApi. However it was added with
source retention instead of class retention like androidx's version
has. This causes it to be missed if you compiled a library and then
used that library to compile something else, that library's public
methods won't have @RequiresApi on them when using that library's
compiled jar file.

To make @RequiresApi have class retention, we need to baseline the
NewApi issues that it would cause. These baselines also require
us to disable strict_updatability_linting in some places.

Bug: 323366771
Test: m lint-check
Change-Id: I0c984e3ba39e357ce102be442568f2d77a4f9034
2024-02-02 12:04:05 -08:00
..
client-libs [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
device Add netlinkSocketForProto() without buffersize. 2024-02-01 09:50:52 +08:00
framework/com/android/net/module/util Rename check*Permission* to has*Permission 2024-02-01 15:24:35 +08:00
native [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
netd [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
tests/unit Prepare for @RequiresApi class retention 2024-02-02 12:04:05 -08:00
testutils Merge "[DON'T BLOCK] Test ownership migration rules" into main 2024-01-31 23:38:03 +00:00
Android.bp Prepare for @RequiresApi class retention 2024-02-02 12:04:05 -08:00
jarjar-rules-shared.txt Support both R and S+ in NetworkFactory 2021-07-08 10:20:58 +00:00
lint-baseline.xml Prepare for @RequiresApi class retention 2024-02-02 12:04:05 -08:00
TEST_MAPPING Merge remote-tracking branch 'remotes/aosp/tmp_libs_net_move' into libs_net_move_merge 2023-09-11 11:53:46 +09:00