From 534c84c1ce19ae20ded249315c3c0558577eca6c Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Wed, 12 Jan 2011 14:06:30 -0800 Subject: [PATCH] Unhide Content{Resolver,Provider}.call() Change-Id: Ic7833b921f5a8e70ef7d565bfdf461e6e135ff1b --- api/current.xml | 36 +++++++++++ .../java/android/content/ContentProvider.java | 22 +++---- .../java/android/content/ContentResolver.java | 61 +++++++++++++++++-- .../android/content/IContentProvider.java | 13 +--- 4 files changed, 104 insertions(+), 28 deletions(-) diff --git a/api/current.xml b/api/current.xml index d790c4fb039c6..494094a3a45b7 100644 --- a/api/current.xml +++ b/api/current.xml @@ -44998,6 +44998,23 @@ + + + + + + + + + + + + + + + + + + operations) throws RemoteException, OperationApplicationException; - - /** - * @hide -- until interface has proven itself - * - * Call an provider-defined method. This can be used to implement - * interfaces that are cheaper than using a Cursor. - * - * @param method Method name to call. Opaque to framework. - * @param request Nullable String argument passed to method. - * @param args Nullable Bundle argument passed to method. - */ - public Bundle call(String method, String request, Bundle args) throws RemoteException; + public Bundle call(String method, String arg, Bundle extras) throws RemoteException; // Data interchange. public String[] getStreamTypes(Uri url, String mimeTypeFilter) throws RemoteException;