[Android] remove unused imports

Sébastien Toque git at videolan.org
Sun Nov 25 17:10:06 CET 2012


vlc-ports/android | branch: master | Sébastien Toque <xilasz at gmail.com> | Sun Nov 25 11:18:09 2012 +0100| [dd6d5e5ff4085ef6137efde752fad731cabb613a] | committer: Sébastien Toque

remove unused imports

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=dd6d5e5ff4085ef6137efde752fad731cabb613a
---

 vlc-android/src/org/videolan/vlc/MediaLibrary.java         |    3 ---
 .../src/org/videolan/vlc/gui/PreferencesActivity.java      |   12 ------------
 2 files changed, 15 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/MediaLibrary.java b/vlc-android/src/org/videolan/vlc/MediaLibrary.java
index 2cf1a07..08d3b67 100644
--- a/vlc-android/src/org/videolan/vlc/MediaLibrary.java
+++ b/vlc-android/src/org/videolan/vlc/MediaLibrary.java
@@ -35,11 +35,9 @@ import org.videolan.vlc.gui.audio.AudioBrowserFragment;
 import org.videolan.vlc.gui.video.VideoGridFragment;
 
 import android.content.Context;
-import android.content.SharedPreferences;
 import android.os.Environment;
 import android.os.Handler;
 import android.os.Message;
-import android.preference.PreferenceManager;
 import android.util.Log;
 
 public class MediaLibrary {
@@ -195,7 +193,6 @@ public class MediaLibrary {
         public void run() {
             // Initialize variables
             final DatabaseManager DBManager = DatabaseManager.getInstance(VLCApplication.getAppContext());
-            final SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(mContext);
 
             // show progressbar in footer
             MainActivity.showProgressBar(mContext);
diff --git a/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java b/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
index 3b52727..012d051 100644
--- a/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
@@ -20,9 +20,6 @@
 
 package org.videolan.vlc.gui;
 
-import java.io.File;
-import java.util.ArrayList;
-
 import org.videolan.vlc.AudioService;
 import org.videolan.vlc.AudioServiceController;
 import org.videolan.vlc.DatabaseManager;
@@ -32,13 +29,11 @@ import org.videolan.vlc.R;
 import org.videolan.vlc.Util;
 
 import android.app.AlertDialog;
-import android.app.Dialog;
 import android.content.Context;
 import android.content.DialogInterface;
 import android.content.Intent;
 import android.content.SharedPreferences;
 import android.os.Bundle;
-import android.os.Environment;
 import android.preference.CheckBoxPreference;
 import android.preference.EditTextPreference;
 import android.preference.ListPreference;
@@ -48,13 +43,6 @@ import android.preference.Preference.OnPreferenceClickListener;
 import android.preference.PreferenceActivity;
 import android.preference.PreferenceManager;
 import android.util.Log;
-import android.view.View;
-import android.view.ViewGroup.LayoutParams;
-import android.widget.Button;
-import android.widget.CompoundButton;
-import android.widget.RadioButton;
-import android.widget.RadioGroup;
-import android.widget.TextView;
 import android.widget.Toast;
 
 @SuppressWarnings("deprecation")



More information about the Android mailing list