Remove unnecessary and unsupported metalava argument

Metalava used to accept and ignore any argument starting with `-J-`.
Previously, that was passed through to `javadoc` but `metalava` no
longer invokes `javadoc` so those arguments were simply ignored.
Change https://r.android.com/2617632 dropped support for those
ignored arguments and the associated change in this topic merges that
change (among others) into master.

Bug: 281035030
Test: m checkapi
      m out/bazel/output/execroot/__main__/bazel-out/k8-opt-ST-83568b577b37/bin/frameworks/base/api/current.txt
Change-Id: I5d7f44c17575f4a70fff31103619746d838dde62
1 file changed
tree: 00969e4314f129257daec0590b9ac005537f318f
  1. api_surfaces/
  2. bin/
  3. ci/
  4. compliance/
  5. docs/
  6. examples/
  7. flags/
  8. json_module_graph/
  9. mk2rbc/
  10. mkcompare/
  11. platforms/
  12. product_config/
  13. product_variables/
  14. rules/
  15. scripts/
  16. tests/
  17. utils/
  18. vendor/
  19. .gitignore
  20. bazel.BUILD
  21. bazel.WORKSPACE
  22. buildifier_hook.sh
  23. common.bazelrc
  24. constants_exported_to_soong.bzl
  25. darwin.bazelrc
  26. linux.bazelrc
  27. OWNERS
  28. PREUPLOAD.cfg
  29. README.md
README.md

Bazel

The code in this directory is experimental. Bazel support for Android Platform is undergoing active development and workflow stability is currently not guaranteed.