Removed unused helper class
This commit is contained in:
parent
8f1b91c733
commit
bb12f6b04c
@ -1,24 +0,0 @@
|
|||||||
package de.danoeh.antennapod.core.util;
|
|
||||||
|
|
||||||
import de.danoeh.antennapod.core.BuildConfig;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Helper class to handle the different build flavors.
|
|
||||||
*/
|
|
||||||
public enum Flavors {
|
|
||||||
FREE,
|
|
||||||
PLAY,
|
|
||||||
UNKNOWN;
|
|
||||||
|
|
||||||
public static final Flavors FLAVOR;
|
|
||||||
|
|
||||||
static {
|
|
||||||
if (BuildConfig.FLAVOR.equals("free")) {
|
|
||||||
FLAVOR = FREE;
|
|
||||||
} else if (BuildConfig.FLAVOR.equals("play")) {
|
|
||||||
FLAVOR = PLAY;
|
|
||||||
} else {
|
|
||||||
FLAVOR = UNKNOWN;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user