OSDN Git Service

Correct some lint warnings
[android-x86/packages-apps-Eleven.git] / src / org / lineageos / eleven / ui / fragments / RecentFragment.java
index 3e7c751..b999359 100644 (file)
@@ -64,7 +64,7 @@ public class RecentFragment extends SmartPlaylistFragment implements ISetupActio
 
         TopTracksLoader loader = new TopTracksLoader(getActivity(),
                 TopTracksLoader.QueryType.RecentSongs);
-        return new SectionCreator<Song>(getActivity(), loader, null);
+        return new SectionCreator<>(getActivity(), loader, null);
     }
 
     /**
@@ -133,4 +133,4 @@ public class RecentFragment extends SmartPlaylistFragment implements ISetupActio
 
     @Override
     protected void clearList() { MusicUtils.clearRecent(getActivity()); }
-}
\ No newline at end of file
+}