Fix ContextHubManager docs

EXTRA_CLIENT_AUTHORIZATION_STATE currently wouldn't have its docs
generated correctly (if they ever need to be). Modify the doc comment to
properly link to the authorization state constants.

Fixes: 181350428
Test: presubmits
Change-Id: Ieee8ecbc4af153e4f42bb47c734c4f042361b332
This commit is contained in:
Anthony Stange
2021-03-19 16:53:17 +00:00
parent 45abbc309d
commit dc7c374c62

View File

@@ -60,8 +60,8 @@ public final class ContextHubManager {
private static final String TAG = "ContextHubManager";
/**
* An extra containing an int from {@link AuthorizationState} describing the client's
* authorization state.
* An extra containing one of the {@code AUTHORIZATION_*} constants such as
* {@link #AUTHORIZATION_GRANTED} describing the client's authorization state.
*/
public static final String EXTRA_CLIENT_AUTHORIZATION_STATE =
"android.hardware.location.extra.CLIENT_AUTHORIZATION_STATE";