Rename API feature check method

This commit is contained in:
Matthew Simmons
2011-02-10 16:29:00 -05:00
parent 510b887042
commit 12bc4f0da8
2 changed files with 2 additions and 2 deletions
@@ -372,7 +372,7 @@ public class MyTracksProvider extends ContentProvider {
throw new IllegalArgumentException("Unknown URL " + url);
}
if (ApiFeatures.getInstance().canUseSQLiteQueryBuilderTwice()) {
if (ApiFeatures.getInstance().canReuseSQLiteQueryBuilder()) {
Log.i(MyTracksConstants.TAG,
"Build query: " + qb.buildQuery(projection, selection, selectionArgs,
null, null, sortOrder, null));
@@ -115,7 +115,7 @@ public class ApiFeatures {
* it'll regenerate the query for the second call, and will screw it
* up. Specifically, it'll add extra parens which don't belong.
*/
public boolean canUseSQLiteQueryBuilderTwice() {
public boolean canReuseSQLiteQueryBuilder() {
return getApiLevel() > 4;
}