[Android] Remove unused references
Geoffrey Métais
git at videolan.org
Tue Feb 17 17:43:49 CET 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Feb 17 17:05:58 2015 +0100| [f175465923befcd89024e145f8b0f7a71c06144b] | committer: Geoffrey Métais
Remove unused references
CID #1270686, #1270689
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=f175465923befcd89024e145f8b0f7a71c06144b
---
vlc-android/src/org/videolan/vlc/MediaDatabase.java | 5 -----
1 file changed, 5 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/MediaDatabase.java b/vlc-android/src/org/videolan/vlc/MediaDatabase.java
index ca7cfc4..a9bf27a 100644
--- a/vlc-android/src/org/videolan/vlc/MediaDatabase.java
+++ b/vlc-android/src/org/videolan/vlc/MediaDatabase.java
@@ -950,9 +950,7 @@ public class MediaDatabase {
}
public synchronized void deleteMrlUri(String uri) {
- ArrayList<String> history = new ArrayList<String>();
mDb.delete(MRL_TABLE_NAME, MRL_URI + "=?", new String[] { uri });
-
}
public synchronized void clearMrlHistory() {
@@ -963,7 +961,6 @@ public class MediaDatabase {
public synchronized void addNetworkFavItem(String mrl) {
ContentValues values = new ContentValues();
values.put(NETWORK_FAV_URI, Uri.encode(mrl));
-
mDb.replace(NETWORK_FAV_TABLE_NAME, null, values);
}
@@ -994,9 +991,7 @@ public class MediaDatabase {
}
public synchronized void deleteNetworkFav(String uri) {
- ArrayList<String> history = new ArrayList<String>();
mDb.delete(NETWORK_FAV_TABLE_NAME, NETWORK_FAV_URI + "=?", new String[] { Uri.encode(uri) });
-
}
public synchronized void clearNetworkFavTable() {
More information about the Android
mailing list