summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();
}