summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-01-19 11:44:25 -0800
committerWinson Chung <winsonc@google.com>2011-01-19 11:44:25 -0800
commit0fd9be211881d3942e44962c6dff364719443c3b (patch)
tree154ec510f1a750bd49061f2b615ddbdcda27487a
parent069ee21a2012e0b6fd355253ea81a84ea11138d2 (diff)
downloadframeworks_base-0fd9be211881d3942e44962c6dff364719443c3b.zip
frameworks_base-0fd9be211881d3942e44962c6dff364719443c3b.tar.gz
frameworks_base-0fd9be211881d3942e44962c6dff364719443c3b.tar.bz2
Removing deprecated widget api method.
Change-Id: I0610dcb5cf1001b2b7e86d78a88addf174cedd77
-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 6c06a0a..eb2c15c 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 73581f1..d100031 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 c336ccb..482ce56 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