Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c04e9aa9 authored by Christopher Tate's avatar Christopher Tate
Browse files

Widget restore documentation tweaks

- Fix broken Javadoc @see directives
- Linkify AppWidgetProvider in the documentation for the new
  ACTION_APPWIDGET_RESTORED broadcast
- Minor content edits

Bug 15022842

Change-Id: Ia7d4ad5be476c260492e1be5d83e21f6943a6847
parent b9a65de1
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -317,9 +317,9 @@ public class AppWidgetManager {
    public static final String ACTION_APPWIDGET_ENABLED = "android.appwidget.action.APPWIDGET_ENABLED";

    /**
     * Sent to providers after AppWidget state related to the provider has been restored from
     * backup. The intent contains information about how to translate AppWidget ids from the
     * restored data to their new equivalents.
     * Sent to an {@link AppWidgetProvider} after AppWidget state related to that provider has
     * been restored from backup. The intent contains information about how to translate AppWidget
     * ids from the restored data to their new equivalents.
     *
     * <p>The intent will contain the following extras:
     *
@@ -343,7 +343,7 @@ public class AppWidgetManager {
     * <p class="note">This is a protected intent that can only be sent
     * by the system.
     *
     * @see {@link #ACTION_APPWIDGET_HOST_RESTORED} for the corresponding host broadcast
     * @see #ACTION_APPWIDGET_HOST_RESTORED
     */
    public static final String ACTION_APPWIDGET_RESTORED
            = "android.appwidget.action.APPWIDGET_RESTORED";
@@ -352,7 +352,7 @@ public class AppWidgetManager {
     * Sent to widget hosts after AppWidget state related to the host has been restored from
     * backup. The intent contains information about how to translate AppWidget ids from the
     * restored data to their new equivalents.  If an application maintains multiple separate
     * widget hosts instances, it will receive this broadcast separately for each one.
     * widget host instances, it will receive this broadcast separately for each one.
     *
     * <p>The intent will contain the following extras:
     *
@@ -380,7 +380,7 @@ public class AppWidgetManager {
     * <p class="note">This is a protected intent that can only be sent
     * by the system.
     *
     * @see {@link #ACTION_APPWIDGET_RESTORED} for the corresponding provider broadcast
     * @see #ACTION_APPWIDGET_RESTORED
     */
    public static final String ACTION_APPWIDGET_HOST_RESTORED
            = "android.appwidget.action.APPWIDGET_HOST_RESTORED";