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

Commit 12eefc9f authored by Christopher Tate's avatar Christopher Tate Committed by Android Git Automerger
Browse files

am 45ebf5d1: Merge "Widget restore documentation tweaks" into lmp-preview-dev

* commit '45ebf5d19b6fc410eaafe1804f265503f585f682':
  Widget restore documentation tweaks
parents bdcfd054 2ddbbe7b
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line Diff line number Diff line
@@ -317,9 +317,9 @@ public class AppWidgetManager {
    public static final String ACTION_APPWIDGET_ENABLED = "android.appwidget.action.APPWIDGET_ENABLED";
    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
     * Sent to an {@link AppWidgetProvider} after AppWidget state related to that provider has
     * backup. The intent contains information about how to translate AppWidget ids from the
     * been restored from backup. The intent contains information about how to translate AppWidget
     * restored data to their new equivalents.
     * ids from the restored data to their new equivalents.
     *
     *
     * <p>The intent will contain the following extras:
     * <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
     * <p class="note">This is a protected intent that can only be sent
     * by the system.
     * 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
    public static final String ACTION_APPWIDGET_RESTORED
            = "android.appwidget.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
     * 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
     * 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
     * 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:
     * <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
     * <p class="note">This is a protected intent that can only be sent
     * by the system.
     * 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
    public static final String ACTION_APPWIDGET_HOST_RESTORED
            = "android.appwidget.action.APPWIDGET_HOST_RESTORED";
            = "android.appwidget.action.APPWIDGET_HOST_RESTORED";