Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Commit

Permalink
Remove deprecated code
Browse files Browse the repository at this point in the history
  • Loading branch information
timusus committed Aug 16, 2018
1 parent 3c4534c commit 8ca85ae
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
import com.simplecity.amp_library.utils.LogUtils;
import com.simplecity.amp_library.utils.SettingsManager;
import com.simplecity.amp_library.utils.StringUtils;
import com.simplecity.amp_library.utils.sorting.SortManager;
import com.squareup.leakcanary.LeakCanary;
import com.squareup.leakcanary.RefWatcher;
import io.fabric.sdk.android.Fabric;
Expand Down Expand Up @@ -110,14 +109,6 @@ public void onCreate() {
// enableStrictMode();
}

// Todo: Remove after 2.0.5-beta2
if (BuildConfig.VERSION_NAME.equals("2.0.5-beta2")) {
int genreDetailSongsSortOrder = SortManager.getInstance().getGenreDetailSongsSortOrder();
if (genreDetailSongsSortOrder == SortManager.SongSort.DEFAULT) {
SortManager.getInstance().setGenreDetailSongsSortOrder(SortManager.SongSort.DETAIL_DEFAULT);
}
}

appComponent = initDagger(this);

refWatcher = LeakCanary.install(this);
Expand Down

0 comments on commit 8ca85ae

Please sign in to comment.