Removed a few TODOs.

This commit is contained in:
Karim Abou Zeid 2016-06-02 20:42:56 +02:00
commit f2123228e3
3 changed files with 0 additions and 7 deletions

View file

@ -50,8 +50,6 @@ public class AudioFileCoverFetcher implements DataFetcher<InputStream> {
private InputStream fallback(String path) throws FileNotFoundException {
File parent = new File(path).getParentFile();
for (String fallback : FALLBACKS) {
// TODO make it smarter by enumerating folder contents and filtering for files
// example algorithm for that: http://askubuntu.com/questions/123612/how-do-i-set-album-artwork
File cover = new File(parent, fallback);
if (cover.exists()) {
return stream = new FileInputStream(cover);

View file

@ -22,8 +22,6 @@ import android.widget.ImageView;
import android.widget.TextView;
import com.bumptech.glide.Glide;
import com.crashlytics.android.answers.Answers;
import com.crashlytics.android.answers.CustomEvent;
import com.kabouzeid.appthemehelper.ThemeStore;
import com.kabouzeid.appthemehelper.util.ATHUtil;
import com.kabouzeid.appthemehelper.util.NavigationViewUtil;
@ -78,8 +76,6 @@ public class MainActivity extends AbsSlidingMusicPanelActivity {
super.onCreate(savedInstanceState);
ButterKnife.bind(this);
Answers.getInstance().logCustom(new CustomEvent("TEST")); // TODO remove in future update
if (Build.VERSION.SDK_INT == Build.VERSION_CODES.KITKAT) {
Util.setStatusBarTranslucent(getWindow());
drawerLayout.setFitsSystemWindows(false);

View file

@ -36,7 +36,6 @@ public abstract class AbsThemeActivity extends ATHToolbarActivity {
MaterialDialogsUtil.updateMaterialDialogsThemeSingleton(this);
}
// TODO see "materialize" library for setting window flags
protected void setDrawUnderStatusbar(boolean drawUnderStatusbar) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)
Util.setAllowDrawUnderStatusBar(getWindow());