Introduce @Discouraged for discouraged APIs

This change adds @Discouraged to the internal annotations library. This
annotation will be used to mark elements that are inadvisable for some
reason, and will be used in lint checks.

Bug: 178477913
Test: Built and flashed successfully
Change-Id: Ie67bd43eb1a2971bfe8b1b29f7d91e45fe3499bf
1 file changed
tree: fe093b762522d8ec0d50c289b39e7fdb9d10c6e7
  1. build/
  2. java/
  3. javatests/
  4. tools/
  5. Android.bp
  6. OWNERS
  7. PREUPLOAD.cfg
  8. TEST_MAPPING