From 369f2eeaf9f096c50c2e93467ed52c0c471caf83 Mon Sep 17 00:00:00 2001 From: Andrew Solovay Date: Mon, 4 May 2020 14:44:15 -0700 Subject: [PATCH] docs: Fixing broken Javadoc comments Two recent checkins broke the Javadoc (in both cases, an

wasn't properly closed). Made the fix by hand to the HTML output in cl/309818465 but we need to make the corresponding change to the Java source or it'll get reverted next time we update the reference docs. Staged to: go/dac-stage/reference/android/content/pm/LauncherApps.PinItemRequest go/dac-stage/reference/android/service/autofill/AutofillService go/dac-stage/reference/kotlin/android/content/pm/LauncherApps.PinItemRequest go/dac-stage/reference/kotlin/android/service/autofill/AutofillService BUG: 155669442 Exempt-from-owner-approval: Docs-only change Test: make ds-docs Change-Id: I97be9550689544304dff276cf3c9406f9cd98408 --- core/java/android/content/pm/LauncherApps.java | 4 ++-- core/java/android/service/autofill/AutofillService.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/java/android/content/pm/LauncherApps.java b/core/java/android/content/pm/LauncherApps.java index bbcac56cf8afd..4299e805264cf 100644 --- a/core/java/android/content/pm/LauncherApps.java +++ b/core/java/android/content/pm/LauncherApps.java @@ -1870,7 +1870,7 @@ public class LauncherApps { * an {@link #ACTION_CONFIRM_PIN_SHORTCUT} or {@link #ACTION_CONFIRM_PIN_APPWIDGET} intent * respectively to the default launcher app. * - *

Request of the {@link #REQUEST_TYPE_SHORTCUT} type. + *

Request of the {@link #REQUEST_TYPE_SHORTCUT} type.

* *

A {@link #REQUEST_TYPE_SHORTCUT} request represents a request to pin a * {@link ShortcutInfo}. If the launcher accepts a request, call {@link #accept()}, @@ -1887,7 +1887,7 @@ public class LauncherApps { * *

See also {@link ShortcutManager} for more details. * - *

Request of the {@link #REQUEST_TYPE_APPWIDGET} type. + *

Request of the {@link #REQUEST_TYPE_APPWIDGET} type.

* *

A {@link #REQUEST_TYPE_SHORTCUT} request represents a request to pin a * an AppWidget. If the launcher accepts a request, call {@link #accept(Bundle)} with diff --git a/core/java/android/service/autofill/AutofillService.java b/core/java/android/service/autofill/AutofillService.java index 188670d0df505..678f43daaa380 100644 --- a/core/java/android/service/autofill/AutofillService.java +++ b/core/java/android/service/autofill/AutofillService.java @@ -455,7 +455,7 @@ import android.view.autofill.AutofillValue; * heuristics purposes, but it should not be sent to external servers. * * - *

Metrics and field classification

Metrics and field classification * *

The service can call {@link #getFillEventHistory()} to get metrics representing the user * actions, and then use these metrics to improve its heuristics.