Enable strict_updatability_linting for NewApi check

This commit modifies Android.bp to enable
strict_updatability_linting, and deletes lint-baseline.xml and all
@SuppressLint("NewApi") annotations.

Enabling strict_updatability_linting will check that IPsec module
and transitive dependencies have NewApi checks enabled. It also
restricts adding such findings to lint-baseline.xml or disabling
NewApi checks altogether.

The lint-baseline.xml and all @SuppressLint("NewApi") annotations
can be safely deleted because the errors they work around are all
false positive, and NewApi check has been improved to do not
report them anymore.

Bug: 188851970
Test: atest FrameworksIkeTests, CtsIkeTestCases
Test: m lint-check
Change-Id: Ife2e96923651f571df46e2155403d81e314c4c2b
5 files changed
tree: 4dce2fb7dfbdc7432b17285bf642ff2ab4e1a6d3
  1. apex/
  2. api/
  3. src/
  4. tests/
  5. Android.bp
  6. jarjar-rules-shared.txt
  7. jarjar-rules-test.txt
  8. OWNERS
  9. PREUPLOAD.cfg
  10. README.md
  11. TEST_MAPPING
README.md

IKEv2 Library for Android

Introduction

This IKEv2 library is an in-process client library implementing the IKEv2 protocol as well as extensions necessary for the support of IWLAN. It is designed to work in a non-privileged fashion on top of the Android IPsec API surface.