summaryrefslogtreecommitdiff
path: root/api/coverage/tools
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2023-12-10 13:58:03 +0000
committer Paul Duffin <paulduffin@google.com> 2023-12-10 13:58:03 +0000
commit0d7eebc9f1cf1baac89c68a76ece539572d73b3b (patch)
tree4ad784e54dfbf5d90dc75ee0a971af18efe209af /api/coverage/tools
parent6e39bef5f49986608343f89a0f3935406ab8df46 (diff)
Remove unnecessary @Deprecated on parameter of deprecated method
Due to a bug in Metalava `@Deprecated` annotations on parameters were ignored, both for suppressing issues and also in output files like API signature files and stub source files. However, deprecating a method did have the effect of deprecating the parameter, which means that the `@Deprecated` annotation is unnecessary on a deprecated method. The bug in Metalava has been fixed but the presence of the `@Deprecated` annotation on the `DevicePolicyManager`'s `setActiveProfileOwner` method's `ownerName` parameter means that the Metalava fix causes a change in the API signature file. Rather than change the API signature file to add information that is useless, or complicate Metalava with special cases this change removes the unnecessary `@Deprecated` annotation from the parameter. Bug: 315206833 Test: ./gradlew Change-Id: I4a9b41ac1a80d1c3461a571761a826cd096ef551
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions