Merge "Adding API AppWidgetHost.getAppWidgetIds() to get active widgets of the host" into oc-dev

This commit is contained in:
Sunny Goyal
2017-04-19 17:10:37 +00:00
committed by Android (Google) Code Review
4 changed files with 3 additions and 2 deletions

View File

@@ -7063,6 +7063,7 @@ package android.appwidget {
method public static void deleteAllHosts();
method public void deleteAppWidgetId(int);
method public void deleteHost();
method public int[] getAppWidgetIds();
method protected android.appwidget.AppWidgetHostView onCreateView(android.content.Context, int, android.appwidget.AppWidgetProviderInfo);
method protected void onProviderChanged(int, android.appwidget.AppWidgetProviderInfo);
method protected void onProvidersChanged();

View File

@@ -7529,6 +7529,7 @@ package android.appwidget {
method public static void deleteAllHosts();
method public void deleteAppWidgetId(int);
method public void deleteHost();
method public int[] getAppWidgetIds();
method protected android.appwidget.AppWidgetHostView onCreateView(android.content.Context, int, android.appwidget.AppWidgetProviderInfo);
method protected void onProviderChanged(int, android.appwidget.AppWidgetProviderInfo);
method protected void onProvidersChanged();

View File

@@ -7094,6 +7094,7 @@ package android.appwidget {
method public static void deleteAllHosts();
method public void deleteAppWidgetId(int);
method public void deleteHost();
method public int[] getAppWidgetIds();
method protected android.appwidget.AppWidgetHostView onCreateView(android.content.Context, int, android.appwidget.AppWidgetProviderInfo);
method protected void onProviderChanged(int, android.appwidget.AppWidgetProviderInfo);
method protected void onProvidersChanged();

View File

@@ -276,8 +276,6 @@ public class AppWidgetHost {
/**
* Gets a list of all the appWidgetIds that are bound to the current host
*
* @hide
*/
public int[] getAppWidgetIds() {
try {