mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 07:02:51 +08:00
Fix to CordovaInterface methods, DroidGap has the managedQuery since it inherits from Activity. (CB-282)
This commit is contained in:
parent
c00fb987f6
commit
bf69362709
@ -1404,11 +1404,6 @@ public class DroidGap extends Activity implements CordovaInterface {
|
|||||||
return this;
|
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) {
|
public void bindBackButton(boolean override) {
|
||||||
// TODO Auto-generated method stub
|
// TODO Auto-generated method stub
|
||||||
|
|
||||||
@ -1418,4 +1413,6 @@ public class DroidGap extends Activity implements CordovaInterface {
|
|||||||
// TODO Auto-generated method stub
|
// TODO Auto-generated method stub
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -115,9 +115,9 @@ public interface CordovaInterface {
|
|||||||
|
|
||||||
public abstract void unregisterReceiver(BroadcastReceiver receiver);
|
public abstract void unregisterReceiver(BroadcastReceiver receiver);
|
||||||
|
|
||||||
public abstract Cursor managedQuery(Uri parse, String[] strings,
|
public abstract Cursor managedQuery(Uri uri, String[] projection, String selection,
|
||||||
Object object, Object object2, Object object3);
|
String[] selectionArgs, String sortOrder);
|
||||||
|
|
||||||
public abstract void runOnUiThread(Runnable runnable);
|
public abstract void runOnUiThread(Runnable runnable);
|
||||||
|
|
||||||
public abstract AssetManager getAssets();
|
public abstract AssetManager getAssets();
|
||||||
|
Loading…
Reference in New Issue
Block a user