From 3c54910ce4f78e6be6df69c89bbda49f43bd90ad Mon Sep 17 00:00:00 2001 From: daniel oeh Date: Mon, 22 Oct 2012 21:44:31 +0200 Subject: [PATCH] Removed unused imports --- src/de/danoeh/antennapod/activity/MainActivity.java | 1 - src/de/danoeh/antennapod/activity/VideoplayerActivity.java | 5 +++-- .../danoeh/antennapod/asynctask/BitmapDecodeWorkerTask.java | 1 - src/de/danoeh/antennapod/asynctask/FeedImageLoader.java | 2 -- .../antennapod/dialog/DownloadRequestErrorDialogCreator.java | 3 +-- src/de/danoeh/antennapod/feed/FeedManager.java | 1 - src/de/danoeh/antennapod/service/PlayerWidgetService.java | 1 - src/de/danoeh/antennapod/syndication/handler/TypeGetter.java | 1 - src/de/danoeh/antennapod/util/PlaybackController.java | 1 - 9 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/de/danoeh/antennapod/activity/MainActivity.java b/src/de/danoeh/antennapod/activity/MainActivity.java index eed7f28ea..93849aa9b 100644 --- a/src/de/danoeh/antennapod/activity/MainActivity.java +++ b/src/de/danoeh/antennapod/activity/MainActivity.java @@ -21,7 +21,6 @@ import com.viewpagerindicator.TabPageIndicator; import de.danoeh.antennapod.AppConfig; import de.danoeh.antennapod.R; -import de.danoeh.antennapod.asynctask.OpmlExportWorker; import de.danoeh.antennapod.feed.FeedManager; import de.danoeh.antennapod.fragment.ExternalPlayerFragment; import de.danoeh.antennapod.fragment.FeedlistFragment; diff --git a/src/de/danoeh/antennapod/activity/VideoplayerActivity.java b/src/de/danoeh/antennapod/activity/VideoplayerActivity.java index 97437120a..bb07437b5 100644 --- a/src/de/danoeh/antennapod/activity/VideoplayerActivity.java +++ b/src/de/danoeh/antennapod/activity/VideoplayerActivity.java @@ -1,7 +1,5 @@ package de.danoeh.antennapod.activity; -import com.actionbarsherlock.view.Window; - import android.annotation.SuppressLint; import android.content.Intent; import android.os.AsyncTask; @@ -16,6 +14,9 @@ import android.widget.LinearLayout; import android.widget.ProgressBar; import android.widget.SeekBar; import android.widget.VideoView; + +import com.actionbarsherlock.view.Window; + import de.danoeh.antennapod.AppConfig; import de.danoeh.antennapod.R; import de.danoeh.antennapod.service.PlaybackService; diff --git a/src/de/danoeh/antennapod/asynctask/BitmapDecodeWorkerTask.java b/src/de/danoeh/antennapod/asynctask/BitmapDecodeWorkerTask.java index 65323514a..68ef60287 100644 --- a/src/de/danoeh/antennapod/asynctask/BitmapDecodeWorkerTask.java +++ b/src/de/danoeh/antennapod/asynctask/BitmapDecodeWorkerTask.java @@ -2,7 +2,6 @@ package de.danoeh.antennapod.asynctask; import java.io.File; -import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Handler; import android.util.Log; diff --git a/src/de/danoeh/antennapod/asynctask/FeedImageLoader.java b/src/de/danoeh/antennapod/asynctask/FeedImageLoader.java index 9d6d0fe3d..4e77e9f4d 100644 --- a/src/de/danoeh/antennapod/asynctask/FeedImageLoader.java +++ b/src/de/danoeh/antennapod/asynctask/FeedImageLoader.java @@ -7,7 +7,6 @@ import java.util.concurrent.ThreadFactory; import android.annotation.SuppressLint; import android.app.ActivityManager; import android.content.Context; -import android.graphics.Bitmap; import android.os.Handler; import android.support.v4.util.LruCache; import android.util.Log; @@ -17,7 +16,6 @@ import de.danoeh.antennapod.PodcastApp; import de.danoeh.antennapod.R; import de.danoeh.antennapod.feed.FeedImage; import de.danoeh.antennapod.feed.FeedManager; -import de.danoeh.antennapod.miroguide.model.MiroGuideChannel; import de.danoeh.antennapod.storage.DownloadRequester; /** Caches and loads FeedImage bitmaps in the background */ diff --git a/src/de/danoeh/antennapod/dialog/DownloadRequestErrorDialogCreator.java b/src/de/danoeh/antennapod/dialog/DownloadRequestErrorDialogCreator.java index 349b39682..e363a6911 100644 --- a/src/de/danoeh/antennapod/dialog/DownloadRequestErrorDialogCreator.java +++ b/src/de/danoeh/antennapod/dialog/DownloadRequestErrorDialogCreator.java @@ -1,10 +1,9 @@ package de.danoeh.antennapod.dialog; -import de.danoeh.antennapod.R; import android.app.AlertDialog; -import android.app.AlertDialog.Builder; import android.content.Context; import android.content.DialogInterface; +import de.danoeh.antennapod.R; /** Creates Alert Dialogs if a DownloadRequestException has happened. */ public class DownloadRequestErrorDialogCreator { diff --git a/src/de/danoeh/antennapod/feed/FeedManager.java b/src/de/danoeh/antennapod/feed/FeedManager.java index d4b1c0bfa..d9b4e6c56 100644 --- a/src/de/danoeh/antennapod/feed/FeedManager.java +++ b/src/de/danoeh/antennapod/feed/FeedManager.java @@ -3,7 +3,6 @@ package de.danoeh.antennapod.feed; import java.io.File; import java.util.ArrayList; import java.util.Collections; -import java.util.Comparator; import java.util.Date; import java.util.List; import java.util.concurrent.Executor; diff --git a/src/de/danoeh/antennapod/service/PlayerWidgetService.java b/src/de/danoeh/antennapod/service/PlayerWidgetService.java index 08a2680e4..90692080a 100644 --- a/src/de/danoeh/antennapod/service/PlayerWidgetService.java +++ b/src/de/danoeh/antennapod/service/PlayerWidgetService.java @@ -6,7 +6,6 @@ import android.appwidget.AppWidgetManager; import android.content.ComponentName; import android.content.Intent; import android.content.ServiceConnection; -import android.media.MediaPlayer; import android.os.IBinder; import android.util.Log; import android.view.KeyEvent; diff --git a/src/de/danoeh/antennapod/syndication/handler/TypeGetter.java b/src/de/danoeh/antennapod/syndication/handler/TypeGetter.java index d4c61119f..a2766526d 100644 --- a/src/de/danoeh/antennapod/syndication/handler/TypeGetter.java +++ b/src/de/danoeh/antennapod/syndication/handler/TypeGetter.java @@ -2,7 +2,6 @@ package de.danoeh.antennapod.syndication.handler; import java.io.File; import java.io.FileNotFoundException; -import java.io.FileReader; import java.io.IOException; import java.io.Reader; diff --git a/src/de/danoeh/antennapod/util/PlaybackController.java b/src/de/danoeh/antennapod/util/PlaybackController.java index bf3eaa706..e5eabb731 100644 --- a/src/de/danoeh/antennapod/util/PlaybackController.java +++ b/src/de/danoeh/antennapod/util/PlaybackController.java @@ -25,7 +25,6 @@ import android.widget.ImageButton; import android.widget.SeekBar; import android.widget.TextView; import de.danoeh.antennapod.AppConfig; -import de.danoeh.antennapod.PodcastApp; import de.danoeh.antennapod.R; import de.danoeh.antennapod.feed.Chapter; import de.danoeh.antennapod.feed.FeedMedia;