diff options
author | 2024-02-01 16:57:31 -0800 | |
---|---|---|
committer | 2024-02-02 12:26:47 -0800 | |
commit | b752bb06a0d41a3beeb84bd99a285430f2211dd8 (patch) | |
tree | 943c3a48b26bc71543484bd4f059e99ddc3e34a7 /wifi_upload_hook.py | |
parent | 327ce20e91ed3d0e1e027704c231476e44bc31c7 (diff) |
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: I4d60a8b151f38e53bd3649e8ff935b7731a20f5e
Diffstat (limited to 'wifi_upload_hook.py')
0 files changed, 0 insertions, 0 deletions