diff --git a/api/current.xml b/api/current.xml index 7df41159bc53d..aee5138cf5416 100644 --- a/api/current.xml +++ b/api/current.xml @@ -23622,7 +23622,7 @@ synchronized="false" static="false" final="false" - deprecated="not deprecated" + deprecated="deprecated" visibility="public" > @@ -23635,7 +23635,7 @@ synchronized="false" static="false" final="false" - deprecated="not deprecated" + deprecated="deprecated" visibility="public" > diff --git a/core/java/android/app/SearchManager.java b/core/java/android/app/SearchManager.java index 5d25f10e34017..0291882b8a4e1 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(); }