commit | 63561273b827ddb23906cd9b198ba3a9a6be6f1f | [log] [tgz] |
---|---|---|
author | Vadim Caen <caen@google.com> | Fri Sep 13 08:24:12 2024 +0000 |
committer | Vadim Caen <caen@google.com> | Fri Sep 13 09:24:36 2024 +0000 |
tree | 2bb3efab9cc9d5e239556d85333909ef1d06fc07 | |
parent | 1f5dc8ee721fcd1e725321d728b65d44ec2a08ec [diff] |
Fix typo in @throw tag @throw doesn't take an @link tag. ADS does not parse the later correctly : https://developer.android.com/reference/android/window/OnBackInvokedDispatcher#registerOnBackInvokedCallback(int,%20android.window.OnBackInvokedCallback) Change-Id: Ic50e6425393b41e9d8918d00cd1fe3489bb38817 Flag: DOCS_ONLY Bug: N/A Test: N/A
diff --git a/core/java/android/window/OnBackInvokedDispatcher.java b/core/java/android/window/OnBackInvokedDispatcher.java index bccee92..0632a37 100644 --- a/core/java/android/window/OnBackInvokedDispatcher.java +++ b/core/java/android/window/OnBackInvokedDispatcher.java
@@ -76,7 +76,7 @@ * @param callback The callback to be registered. If the callback instance has been already * registered, the existing instance (no matter its priority) will be * unregistered and registered again. - * @throws {@link IllegalArgumentException} if the priority is negative. + * @throws IllegalArgumentException if the priority is negative. */ @SuppressLint({"ExecutorRegistration"}) void registerOnBackInvokedCallback(