Fix doclava to preserve annotations on fields and methods - do not merge.
The android.jar stubs file used in the SDK was missing @Deprecated
annotations on methods and fields.
This changeset updates doclava to write annotations on methods and
fields as well, and to also add a @Deprecated annotation for APIs that
were marked deprecated but missing an annotation (presumably because
they only used the @deprecated doc comment; there are about 30 such
APIs out of 800+ deprecation usages.)
This fixes
http://code.google.com/p/android/issues/detail?id=26173
(cherry picked from commit 73934887ea87fca353449f0fd476d6c07b349521)
Change-Id: I7b78c481ed043df20ecdc4fc59515566b70ebbc1
2 files changed