From 2d77b1f11802da28cbcd87c9456bcc7ee3abf2a0 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sun, 17 Mar 2024 20:25:44 +0100 Subject: Remove dependency from :ui:glide to :core module (#6998) --- .../de/danoeh/antennapod/storage/database/PodDBAdapter.java | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'storage/database') diff --git a/storage/database/src/main/java/de/danoeh/antennapod/storage/database/PodDBAdapter.java b/storage/database/src/main/java/de/danoeh/antennapod/storage/database/PodDBAdapter.java index e577896be..3fc0841e0 100644 --- a/storage/database/src/main/java/de/danoeh/antennapod/storage/database/PodDBAdapter.java +++ b/storage/database/src/main/java/de/danoeh/antennapod/storage/database/PodDBAdapter.java @@ -1177,18 +1177,6 @@ public class PodDBAdapter { return db.rawQuery(query, null); } - public Cursor getImageAuthenticationCursor(final String imageUrl) { - String downloadUrl = DatabaseUtils.sqlEscapeString(imageUrl); - final String query = "" - + "SELECT " + KEY_USERNAME + "," + KEY_PASSWORD + " FROM " + TABLE_NAME_FEED_ITEMS - + " INNER JOIN " + TABLE_NAME_FEEDS - + " ON " + TABLE_NAME_FEED_ITEMS + "." + KEY_FEED + " = " + TABLE_NAME_FEEDS + "." + KEY_ID - + " WHERE " + TABLE_NAME_FEED_ITEMS + "." + KEY_IMAGE_URL + "=" + downloadUrl - + " UNION SELECT " + KEY_USERNAME + "," + KEY_PASSWORD + " FROM " + TABLE_NAME_FEEDS - + " WHERE " + TABLE_NAME_FEEDS + "." + KEY_IMAGE_URL + "=" + downloadUrl; - return db.rawQuery(query, null); - } - public final Cursor getMonthlyStatisticsCursor() { final String query = "SELECT SUM(" + KEY_PLAYED_DURATION + ") AS total_duration" + ", strftime('%m', datetime(" + KEY_LAST_PLAYED_TIME + "/1000, 'unixepoch')) AS month" -- cgit v1.2.3