diff --git a/core/java/android/appwidget/AppWidgetHost.java b/core/java/android/appwidget/AppWidgetHost.java index a72877e279435..fe81df0b6b3b4 100644 --- a/core/java/android/appwidget/AppWidgetHost.java +++ b/core/java/android/appwidget/AppWidgetHost.java @@ -319,6 +319,15 @@ public class AppWidgetHost { } } + /** + * Set the host's interaction handler. + * + * @hide + */ + public void setInteractionHandler(InteractionHandler interactionHandler) { + mInteractionHandler = interactionHandler; + } + /** * Gets a list of all the appWidgetIds that are bound to the current host */