Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishal committed Sep 8, 2019
1 parent 82a004a commit a538078
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,8 @@ private PlayQueue getPlayQueue() {

private PlayQueue getPlayQueue(final int index) {
final List<StreamInfoItem> infoItems = new ArrayList<>();
for(InfoItem i : infoListAdapter.getItemsList()) {
if(i instanceof StreamInfoItem) {
for (InfoItem i : infoListAdapter.getItemsList()) {
if (i instanceof StreamInfoItem) {
infoItems.add((StreamInfoItem) i);
}
}
Expand All @@ -342,8 +342,9 @@ private PlayQueue getPlayQueue(final int index) {
public interface PlaylistDownloadCallback {
/**
* Callback for next item in playlist queue to invoke download dialog for next item
*
* @param downloadSetting if smart download checkbox was checked, in which case,
* we should skip presenting the dialog for each video
* we should skip presenting the dialog for each video
*/
void accept(DownloadSetting downloadSetting);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.util.SparseArray;
import android.widget.Toast;
Expand Down Expand Up @@ -67,12 +65,8 @@
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.concurrent.atomic.AtomicBoolean;

import io.reactivex.Completable;
import io.reactivex.CompletableEmitter;
import io.reactivex.CompletableOnSubscribe;
import io.reactivex.functions.Consumer;
import us.shandian.giga.io.StoredDirectoryHelper;
import us.shandian.giga.io.StoredFileHelper;
import us.shandian.giga.postprocessing.Postprocessing;
Expand Down Expand Up @@ -781,7 +775,6 @@ public static void installKore(Context context) {

/**
* Start Kore app to show a video on Kodi
* <p>
* For a list of supported urls see the
* <a href="https:/xbmc/Kore/blob/master/app/src/main/AndroidManifest.xml">
* Kore source code
Expand Down

0 comments on commit a538078

Please sign in to comment.