commit | f3e8bbc99f364cd08d63b3f6be47aac18bb52d12 | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Thu Jan 07 15:38:40 2021 +0900 |
committer | Jooyung Han <jooyung@google.com> | Thu Jan 07 15:38:40 2021 +0900 |
tree | f3234a710ce99cce3ce0619d58fd8ca5f39d9332 | |
parent | d24b70c4fafe1eb3ab958cabce39087c88501cbe [diff] |
Use @deprecated for deprecated constants The AIDL compiler now supports deprecating entities by adding '@deprecated <optional note>' in the javadoc style comments. Replaced workarounds to emit `@Deprecated` to the Java generated code with the supported way of deprecation. Since C++ generated code also respects @deprecated, references to older names are switched to newer names as well. Bug: 174514415 Test: m Change-Id: I5c260302e88332fc4cfe323e4c946e977aa2a862