summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Adam Cohen <adamcohen@google.com> 2011-01-19 11:47:56 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2011-01-19 11:47:56 -0800
commitc446ae83e08fb451589dbacba9aa3f89d0d6acb0 (patch)
tree643e9beeccfa249cb5d93f0710bf1658bc40742e
parent7a97ad421b50208dc2f484cc23fa3bb29331a713 (diff)
parent0fd9be211881d3942e44962c6dff364719443c3b (diff)
Merge "Removing deprecated widget api method." into honeycomb
-rw-r--r--api/11.xml15
-rw-r--r--api/current.xml15
-rw-r--r--core/java/android/widget/RemoteViews.java12
3 files changed, 0 insertions, 42 deletions
diff --git a/api/11.xml b/api/11.xml
index 6c06a0afda1a..eb2c15c1be34 100644
--- a/api/11.xml
+++ b/api/11.xml
@@ -252338,21 +252338,6 @@
deprecated="not deprecated"
visibility="public"
>
-<parameter name="viewId" type="int">
-</parameter>
-<parameter name="intent" type="android.content.Intent">
-</parameter>
-</method>
-<method name="setRemoteAdapter"
- return="void"
- abstract="false"
- native="false"
- synchronized="false"
- static="false"
- final="false"
- deprecated="not deprecated"
- visibility="public"
->
<parameter name="appWidgetId" type="int">
</parameter>
<parameter name="viewId" type="int">
diff --git a/api/current.xml b/api/current.xml
index 73581f16e829..d10003140551 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -252483,21 +252483,6 @@
deprecated="not deprecated"
visibility="public"
>
-<parameter name="viewId" type="int">
-</parameter>
-<parameter name="intent" type="android.content.Intent">
-</parameter>
-</method>
-<method name="setRemoteAdapter"
- return="void"
- abstract="false"
- native="false"
- synchronized="false"
- static="false"
- final="false"
- deprecated="not deprecated"
- visibility="public"
->
<parameter name="appWidgetId" type="int">
</parameter>
<parameter name="viewId" type="int">
diff --git a/core/java/android/widget/RemoteViews.java b/core/java/android/widget/RemoteViews.java
index c336ccbbd988..482ce56f83ae 100644
--- a/core/java/android/widget/RemoteViews.java
+++ b/core/java/android/widget/RemoteViews.java
@@ -1277,18 +1277,6 @@ public class RemoteViews implements Parcelable, Filter {
/**
* Equivalent to calling {@link android.widget.AbsListView#setRemoteViewsAdapter(Intent)}.
*
- * @param viewId The id of the view whose text should change
- * @param intent The intent of the service which will be
- * providing data to the RemoteViewsAdapter
- */
- public void setRemoteAdapter(int viewId, Intent intent) {
- // Do nothing. This method will be removed after all widgets have been updated to the
- // new API.
- }
-
- /**
- * Equivalent to calling {@link android.widget.AbsListView#setRemoteViewsAdapter(Intent)}.
- *
* @param appWidgetId The id of the app widget which contains the specified view
* @param viewId The id of the view whose text should change
* @param intent The intent of the service which will be