cleaned up packages
This commit is contained in:
parent
5f03b24e59
commit
20397a06e6
|
@ -1,5 +1,5 @@
|
|||
package de.danoeh.antennapod;
|
||||
|
||||
public final class AppConfig {
|
||||
public final static boolean DEBUG = false;
|
||||
public final static boolean DEBUG = true;
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@ import com.actionbarsherlock.view.MenuItem;
|
|||
import de.danoeh.antennapod.asynctask.FeedImageLoader;
|
||||
import de.danoeh.antennapod.feed.Feed;
|
||||
import de.danoeh.antennapod.feed.FeedManager;
|
||||
import de.danoeh.antennapod.util.FeedMenuHandler;
|
||||
import de.danoeh.antennapod.util.LangUtils;
|
||||
import de.danoeh.antennapod.util.menuhandler.FeedMenuHandler;
|
||||
import de.danoeh.antennapod.AppConfig;
|
||||
import de.danoeh.antennapod.R;
|
||||
|
||||
|
|
|
@ -20,8 +20,8 @@ import de.danoeh.antennapod.feed.Feed;
|
|||
import de.danoeh.antennapod.feed.FeedManager;
|
||||
import de.danoeh.antennapod.fragment.FeedlistFragment;
|
||||
import de.danoeh.antennapod.fragment.ItemlistFragment;
|
||||
import de.danoeh.antennapod.util.FeedMenuHandler;
|
||||
import de.danoeh.antennapod.util.StorageUtils;
|
||||
import de.danoeh.antennapod.util.menuhandler.FeedMenuHandler;
|
||||
|
||||
/** Displays a List of FeedItems */
|
||||
public class FeedItemlistActivity extends SherlockFragmentActivity {
|
||||
|
|
|
@ -14,7 +14,7 @@ import com.actionbarsherlock.app.SherlockActivity;
|
|||
import com.actionbarsherlock.view.Menu;
|
||||
import com.actionbarsherlock.view.MenuItem;
|
||||
|
||||
import de.danoeh.antennapod.util.FlattrUtils;
|
||||
import de.danoeh.antennapod.util.flattr.FlattrUtils;
|
||||
import de.danoeh.antennapod.AppConfig;
|
||||
import de.danoeh.antennapod.R;
|
||||
|
||||
|
|
|
@ -24,8 +24,8 @@ import de.danoeh.antennapod.feed.FeedManager;
|
|||
import de.danoeh.antennapod.fragment.FeedlistFragment;
|
||||
import de.danoeh.antennapod.fragment.ItemDescriptionFragment;
|
||||
import de.danoeh.antennapod.fragment.ItemlistFragment;
|
||||
import de.danoeh.antennapod.util.FeedItemMenuHandler;
|
||||
import de.danoeh.antennapod.util.StorageUtils;
|
||||
import de.danoeh.antennapod.util.menuhandler.FeedItemMenuHandler;
|
||||
|
||||
/** Displays a single FeedItem and provides various actions */
|
||||
public class ItemviewActivity extends SherlockFragmentActivity {
|
||||
|
|
|
@ -55,9 +55,9 @@ import de.danoeh.antennapod.fragment.ItemDescriptionFragment;
|
|||
import de.danoeh.antennapod.service.PlaybackService;
|
||||
import de.danoeh.antennapod.service.PlayerStatus;
|
||||
import de.danoeh.antennapod.util.Converter;
|
||||
import de.danoeh.antennapod.util.FeedItemMenuHandler;
|
||||
import de.danoeh.antennapod.util.MediaPlayerError;
|
||||
import de.danoeh.antennapod.util.StorageUtils;
|
||||
import de.danoeh.antennapod.util.menuhandler.FeedItemMenuHandler;
|
||||
|
||||
public class MediaplayerActivity extends SherlockFragmentActivity implements
|
||||
SurfaceHolder.Callback {
|
||||
|
|
|
@ -11,7 +11,7 @@ import com.actionbarsherlock.view.Menu;
|
|||
import com.actionbarsherlock.view.MenuItem;
|
||||
|
||||
import de.danoeh.antennapod.R;
|
||||
import de.danoeh.antennapod.util.FlattrUtils;
|
||||
import de.danoeh.antennapod.util.flattr.FlattrUtils;
|
||||
|
||||
public class PreferenceActivity extends SherlockPreferenceActivity {
|
||||
private static final String TAG = "PreferenceActivity";
|
||||
|
|
|
@ -8,7 +8,7 @@ import android.util.Log;
|
|||
import android.widget.Toast;
|
||||
import de.danoeh.antennapod.AppConfig;
|
||||
import de.danoeh.antennapod.R;
|
||||
import de.danoeh.antennapod.util.FlattrUtils;
|
||||
import de.danoeh.antennapod.util.flattr.FlattrUtils;
|
||||
|
||||
/** Performs a click action in a background thread. */
|
||||
/*
|
||||
|
|
|
@ -9,7 +9,7 @@ import android.os.AsyncTask;
|
|||
import android.util.Log;
|
||||
import de.danoeh.antennapod.AppConfig;
|
||||
import de.danoeh.antennapod.R;
|
||||
import de.danoeh.antennapod.util.FlattrUtils;
|
||||
import de.danoeh.antennapod.util.flattr.FlattrUtils;
|
||||
|
||||
/** Fetches the access token in the background in order to avoid networkOnMainThread exception. */
|
||||
/*
|
||||
|
|
|
@ -11,8 +11,8 @@ import de.danoeh.antennapod.activity.MediaplayerActivity;
|
|||
import de.danoeh.antennapod.asynctask.DownloadStatus;
|
||||
import de.danoeh.antennapod.service.PlaybackService;
|
||||
import de.danoeh.antennapod.storage.*;
|
||||
import de.danoeh.antennapod.util.FeedItemPubdateComparator;
|
||||
import de.danoeh.antennapod.util.FeedtitleComparator;
|
||||
import de.danoeh.antennapod.util.comparator.FeedItemPubdateComparator;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.database.Cursor;
|
||||
|
|
|
@ -10,7 +10,7 @@ import android.util.Log;
|
|||
import de.danoeh.antennapod.AppConfig;
|
||||
import de.danoeh.antennapod.PodcastApp;
|
||||
import de.danoeh.antennapod.R;
|
||||
import de.danoeh.antennapod.util.SearchResultValueComparator;
|
||||
import de.danoeh.antennapod.util.comparator.SearchResultValueComparator;
|
||||
|
||||
/** Performs search on Feeds and FeedItems */
|
||||
public class FeedSearcher {
|
||||
|
|
|
@ -6,7 +6,7 @@ import de.danoeh.antennapod.asynctask.FeedRemover;
|
|||
import de.danoeh.antennapod.feed.*;
|
||||
import de.danoeh.antennapod.service.DownloadService;
|
||||
import de.danoeh.antennapod.storage.DownloadRequester;
|
||||
import de.danoeh.antennapod.util.FeedMenuHandler;
|
||||
import de.danoeh.antennapod.util.menuhandler.FeedMenuHandler;
|
||||
import de.danoeh.antennapod.AppConfig;
|
||||
import de.danoeh.antennapod.R;
|
||||
import android.os.AsyncTask;
|
||||
|
|
|
@ -28,7 +28,7 @@ import de.danoeh.antennapod.feed.FeedItem;
|
|||
import de.danoeh.antennapod.feed.FeedManager;
|
||||
import de.danoeh.antennapod.service.DownloadService;
|
||||
import de.danoeh.antennapod.storage.DownloadRequester;
|
||||
import de.danoeh.antennapod.util.FeedItemMenuHandler;
|
||||
import de.danoeh.antennapod.util.menuhandler.FeedItemMenuHandler;
|
||||
import de.danoeh.antennapod.AppConfig;
|
||||
import de.danoeh.antennapod.R;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package de.danoeh.antennapod.util;
|
||||
package de.danoeh.antennapod.util.comparator;
|
||||
|
||||
import java.util.Comparator;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package de.danoeh.antennapod.util;
|
||||
package de.danoeh.antennapod.util.comparator;
|
||||
|
||||
import java.util.Comparator;
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
package de.danoeh.antennapod.util.flattr;
|
||||
/*
|
||||
package de.danoeh.antennapod.util;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package de.danoeh.antennapod.util;
|
||||
package de.danoeh.antennapod.util.flattr;
|
||||
|
||||
import java.util.EnumSet;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package de.danoeh.antennapod.util;
|
||||
package de.danoeh.antennapod.util.menuhandler;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
|
@ -12,6 +12,7 @@ import de.danoeh.antennapod.R;
|
|||
import de.danoeh.antennapod.feed.FeedItem;
|
||||
import de.danoeh.antennapod.feed.FeedManager;
|
||||
import de.danoeh.antennapod.storage.DownloadRequester;
|
||||
import de.danoeh.antennapod.util.ShareUtils;
|
||||
|
||||
/** Handles interactions with the FeedItemMenu. */
|
||||
public class FeedItemMenuHandler {
|
|
@ -1,4 +1,4 @@
|
|||
package de.danoeh.antennapod.util;
|
||||
package de.danoeh.antennapod.util.menuhandler;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
|
@ -16,6 +16,7 @@ import de.danoeh.antennapod.feed.FeedItem;
|
|||
import de.danoeh.antennapod.feed.FeedManager;
|
||||
import de.danoeh.antennapod.service.DownloadService;
|
||||
import de.danoeh.antennapod.storage.DownloadRequester;
|
||||
import de.danoeh.antennapod.util.ShareUtils;
|
||||
import de.danoeh.antennapod.AppConfig;
|
||||
import de.danoeh.antennapod.R;
|
||||
|
Loading…
Reference in New Issue