Remove @DebugLog annotations
This commit is contained in:
parent
3002641b2b
commit
ba444dfb46
2 changed files with 0 additions and 8 deletions
|
|
@ -14,8 +14,6 @@ import com.kabouzeid.gramophone.util.PreferenceUtil;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import hugo.weaving.DebugLog;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Karim Abou Zeid (kabouzeid)
|
* @author Karim Abou Zeid (kabouzeid)
|
||||||
*/
|
*/
|
||||||
|
|
@ -90,7 +88,6 @@ public class SongLoader {
|
||||||
return makeSongCursor(context, selection, selectionValues, PreferenceUtil.getInstance(context).getSongSortOrder());
|
return makeSongCursor(context, selection, selectionValues, PreferenceUtil.getInstance(context).getSongSortOrder());
|
||||||
}
|
}
|
||||||
|
|
||||||
@DebugLog
|
|
||||||
@Nullable
|
@Nullable
|
||||||
public static Cursor makeSongCursor(@NonNull final Context context, @Nullable String selection, String[] selectionValues, final String sortOrder) {
|
public static Cursor makeSongCursor(@NonNull final Context context, @Nullable String selection, String[] selectionValues, final String sortOrder) {
|
||||||
if (selection != null && !selection.trim().equals("")) {
|
if (selection != null && !selection.trim().equals("")) {
|
||||||
|
|
@ -127,7 +124,6 @@ public class SongLoader {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@DebugLog
|
|
||||||
private static String generateBlacklistSelection(String selection, int pathCount) {
|
private static String generateBlacklistSelection(String selection, int pathCount) {
|
||||||
String newSelection = selection != null && !selection.trim().equals("") ? selection + " AND " : "";
|
String newSelection = selection != null && !selection.trim().equals("") ? selection + " AND " : "";
|
||||||
newSelection += AudioColumns.DATA + " NOT LIKE ?";
|
newSelection += AudioColumns.DATA + " NOT LIKE ?";
|
||||||
|
|
@ -137,7 +133,6 @@ public class SongLoader {
|
||||||
return newSelection;
|
return newSelection;
|
||||||
}
|
}
|
||||||
|
|
||||||
@DebugLog
|
|
||||||
private static String[] addBlacklistSelectionValues(String[] selectionValues, ArrayList<String> paths) {
|
private static String[] addBlacklistSelectionValues(String[] selectionValues, ArrayList<String> paths) {
|
||||||
if (selectionValues == null) selectionValues = new String[0];
|
if (selectionValues == null) selectionValues = new String[0];
|
||||||
String[] newSelectionValues = new String[selectionValues.length + paths.size()];
|
String[] newSelectionValues = new String[selectionValues.length + paths.size()];
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,6 @@ import com.kabouzeid.gramophone.util.PreferenceUtil;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import hugo.weaving.DebugLog;
|
|
||||||
|
|
||||||
public class BlacklistStore extends SQLiteOpenHelper {
|
public class BlacklistStore extends SQLiteOpenHelper {
|
||||||
private static BlacklistStore sInstance = null;
|
private static BlacklistStore sInstance = null;
|
||||||
public static final String DATABASE_NAME = "blacklist.db";
|
public static final String DATABASE_NAME = "blacklist.db";
|
||||||
|
|
@ -132,7 +130,6 @@ public class BlacklistStore extends SQLiteOpenHelper {
|
||||||
}
|
}
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
@DebugLog
|
|
||||||
public ArrayList<String> getPaths() {
|
public ArrayList<String> getPaths() {
|
||||||
Cursor cursor = getReadableDatabase().query(BlacklistStoreColumns.NAME,
|
Cursor cursor = getReadableDatabase().query(BlacklistStoreColumns.NAME,
|
||||||
new String[]{BlacklistStoreColumns.PATH},
|
new String[]{BlacklistStoreColumns.PATH},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue