rename helper classes

This commit is contained in:
Domingos Lopes 2016-06-06 14:17:54 -04:00
parent 8b791fbab4
commit 6d9e385b73
6 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@ import de.danoeh.antennapod.core.preferences.UserPreferences;
/** /**
* Implements functions from PreferenceController that are flavor dependent. * Implements functions from PreferenceController that are flavor dependent.
*/ */
public class PreferenceControllerHelper { public class PreferenceControllerFlavorHelper {
static void setupFlavoredUI(PreferenceController.PreferenceUI ui) { static void setupFlavoredUI(PreferenceController.PreferenceUI ui) {
ui.findPreference(UserPreferences.PREF_CAST_ENABLED).setEnabled(false); ui.findPreference(UserPreferences.PREF_CAST_ENABLED).setEnabled(false);

View File

@ -410,7 +410,7 @@ public class PreferenceController implements SharedPreferences.OnSharedPreferenc
ui.getActivity().startActivity(Intent.createChooser(emailIntent, intentTitle)); ui.getActivity().startActivity(Intent.createChooser(emailIntent, intentTitle));
return true; return true;
}); });
PreferenceControllerHelper.setupFlavoredUI(ui); PreferenceControllerFlavorHelper.setupFlavoredUI(ui);
buildEpisodeCleanupPreference(); buildEpisodeCleanupPreference();
buildSmartMarkAsPlayedPreference(); buildSmartMarkAsPlayedPreference();
buildAutodownloadSelectedNetworsPreference(); buildAutodownloadSelectedNetworsPreference();

View File

@ -8,7 +8,7 @@ import de.danoeh.antennapod.core.preferences.UserPreferences;
/** /**
* Implements functions from PreferenceController that are flavor dependent. * Implements functions from PreferenceController that are flavor dependent.
*/ */
public class PreferenceControllerHelper { public class PreferenceControllerFlavorHelper {
static void setupFlavoredUI(PreferenceController.PreferenceUI ui) { static void setupFlavoredUI(PreferenceController.PreferenceUI ui) {
//checks whether Google Play Services is installed on the device (condition necessary for Cast support) //checks whether Google Play Services is installed on the device (condition necessary for Cast support)

View File

@ -3,7 +3,7 @@ package de.danoeh.antennapod.core.feed;
/** /**
* Implements methods for FeedMedia that are flavor dependent. * Implements methods for FeedMedia that are flavor dependent.
*/ */
public class FeedMediaHelper { public class FeedMediaFlavorHelper {
static boolean instanceOfRemoteMedia(Object o) { static boolean instanceOfRemoteMedia(Object o) {
return false; return false;
} }

View File

@ -559,7 +559,7 @@ public class FeedMedia extends FeedFile implements Playable {
@Override @Override
public boolean equals(Object o) { public boolean equals(Object o) {
if (FeedMediaHelper.instanceOfRemoteMedia(o)) { if (FeedMediaFlavorHelper.instanceOfRemoteMedia(o)) {
return o.equals(this); return o.equals(this);
} }
return super.equals(o); return super.equals(o);

View File

@ -5,7 +5,7 @@ import de.danoeh.antennapod.core.cast.RemoteMedia;
/** /**
* Implements methods for FeedMedia that are flavor dependent. * Implements methods for FeedMedia that are flavor dependent.
*/ */
public class FeedMediaHelper { public class FeedMediaFlavorHelper {
static boolean instanceOfRemoteMedia(Object o) { static boolean instanceOfRemoteMedia(Object o) {
return o instanceof RemoteMedia; return o instanceof RemoteMedia;
} }