Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88588d13 authored by Bjorn Bringert's avatar Bjorn Bringert Committed by The Android Open Source Project
Browse files

am 0e01ea41: Deprecate DialogInterface methods in SearchManager

Merge commit '0e01ea41'

* commit '0e01ea41':
  Deprecate DialogInterface methods in SearchManager
parents 679353da 0e01ea41
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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">
+7 −2
Original line number Diff line number Diff line
@@ -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();
    }