diff --git a/framework/src/org/apache/cordova/DroidGap.java b/framework/src/org/apache/cordova/DroidGap.java index d0c039a8..c5e795e3 100755 --- a/framework/src/org/apache/cordova/DroidGap.java +++ b/framework/src/org/apache/cordova/DroidGap.java @@ -1404,11 +1404,6 @@ public class DroidGap extends Activity implements CordovaInterface { return this; } - public Cursor managedQuery(Uri parse, String[] strings, Object object, - Object object2, Object object3) { - return this.managedQuery(parse, strings, object, object2, object3); - } - public void bindBackButton(boolean override) { // TODO Auto-generated method stub @@ -1418,4 +1413,6 @@ public class DroidGap extends Activity implements CordovaInterface { // TODO Auto-generated method stub return false; } + + } diff --git a/framework/src/org/apache/cordova/api/CordovaInterface.java b/framework/src/org/apache/cordova/api/CordovaInterface.java index 0cf8bb2d..51d0392b 100755 --- a/framework/src/org/apache/cordova/api/CordovaInterface.java +++ b/framework/src/org/apache/cordova/api/CordovaInterface.java @@ -115,9 +115,9 @@ public interface CordovaInterface { public abstract void unregisterReceiver(BroadcastReceiver receiver); - public abstract Cursor managedQuery(Uri parse, String[] strings, - Object object, Object object2, Object object3); - + public abstract Cursor managedQuery(Uri uri, String[] projection, String selection, + String[] selectionArgs, String sortOrder); + public abstract void runOnUiThread(Runnable runnable); public abstract AssetManager getAssets();