Merge remote-tracking branch 'aosp/metalava-main' into 'aosp/main'

Merge performed by:
  scripts/merge-from-metalava-main.sh

Changes includes in this merge (from newest to oldest):
* Do not fail compatibility check if error limited by maximumSeverity
  - https://r.android.com/3092150
* Load all previously released APIs into a single Codebase
  - https://r.android.com/3094380
* Support multiple --arg-lint-previous-api options
  - https://r.android.com/3094379
* Perform compatibility checks against the whole previously released API
  - https://r.android.com/3094378
* Remove unnecessary CompatibilityCheck.loadPreviouslyReleasedApi(...)
  - https://r.android.com/3094377
* Disallow jar files in --check-compatibility:removed:released
  - https://r.android.com/3092609
* Add nullability information to some compat tests
  - https://r.android.com/3067363
* Update nullness compatibility checks to apply to more items
  - https://r.android.com/3079865
* Update nullness compatibility check to use types
  - https://r.android.com/3079864
* Move `ClassItem.isExtensible``
  - https://r.android.com/3081865
* Only allow nullness changes in final methods
  - https://r.android.com/3079866
* Remove CheckRequest.files
  - https://r.android.com/3092606
* Change JarBasedApi(List<File>) to JarBasedApi(File)
  - https://r.android.com/3092608
* Add PreviouslyReleasedApi/CheckRequest.lastSignatureFile
  - https://r.android.com/3092607
* Disallow passing multiple jar files for previously released API
  - https://r.android.com/3092605
* Remove unnecessary code from CompatibilityCheckOptionsTest
  - https://r.android.com/3092604
* Move PreviouslyReleasedApi et al to common package
  - https://r.android.com/3092603
* Separate creation of PreviouslyReleasedApi from CheckRequest creation
  - https://r.android.com/3092602
* Access ApiLintOptions directly in Driver.kt
  - https://r.android.com/3092601

This merge includes a number of changes so this contains a list of all
the affected bugs in order from oldest to newest.

Bug: 311690008
Bug: 332507644
Bug: 333394978
Bug: 341078916
Test: m checkapi
Change-Id: I2a3ffa09db57bdcfa36a43f945dd5f62aa914cc7
1 file changed