summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjorn Bringert <bringert@android.com>2009-07-10 00:50:45 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-07-10 00:50:45 -0700
commit88588d137baeaa657d95d9c00b1680f386b1ae83 (patch)
treea9fbdd3be6ae77ea762262429533a6b28eb988cf
parent679353dab934e3d2ad203f136a3738798e2f3b59 (diff)
parent0e01ea41b215941128a4ea8dee454e6b35a4e798 (diff)
downloadframeworks_base-88588d137baeaa657d95d9c00b1680f386b1ae83.zip
frameworks_base-88588d137baeaa657d95d9c00b1680f386b1ae83.tar.gz
frameworks_base-88588d137baeaa657d95d9c00b1680f386b1ae83.tar.bz2
am 0e01ea41: Deprecate DialogInterface methods in SearchManager
Merge commit '0e01ea41b215941128a4ea8dee454e6b35a4e798' * commit '0e01ea41b215941128a4ea8dee454e6b35a4e798': Deprecate DialogInterface methods in SearchManager
-rw-r--r--api/current.xml4
-rw-r--r--core/java/android/app/SearchManager.java9
2 files changed, 9 insertions, 4 deletions
diff --git a/api/current.xml b/api/current.xml
index 9ed9b76..b17466f 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -25846,7 +25846,7 @@
synchronized="false"
static="false"
final="false"
- deprecated="not deprecated"
+ deprecated="deprecated"
visibility="public"
>
<parameter name="dialog" type="android.content.DialogInterface">
@@ -25859,7 +25859,7 @@
synchronized="false"
static="false"
final="false"
- deprecated="not deprecated"
+ deprecated="deprecated"
visibility="public"
>
<parameter name="dialog" type="android.content.DialogInterface">
diff --git a/core/java/android/app/SearchManager.java b/core/java/android/app/SearchManager.java
index 5d25f10..0291882 100644
--- a/core/java/android/app/SearchManager.java
+++ b/core/java/android/app/SearchManager.java
@@ -1719,11 +1719,16 @@ public class SearchManager
}
- // TODO: remove the DialogInterface interfaces from SearchManager.
- // This changes the public API, so I'll do it in a separate change.
+ /**
+ * @deprecated This method is an obsolete internal implementation detail. Do not use.
+ */
public void onCancel(DialogInterface dialog) {
throw new UnsupportedOperationException();
}
+
+ /**
+ * @deprecated This method is an obsolete internal implementation detail. Do not use.
+ */
public void onDismiss(DialogInterface dialog) {
throw new UnsupportedOperationException();
}