Skip to content

Commit e283ab2

Browse files
committed
Remove unused bullet comments code
1 parent 7adf5c1 commit e283ab2

11 files changed

Lines changed: 1 addition & 807 deletions

File tree

app/src/main/java/org/schabi/newpipe/player/bulletComments/MovieBulletCommentsPlayer.java

Lines changed: 0 additions & 194 deletions
This file was deleted.

app/src/main/java/org/schabi/newpipe/settings/BulletCommentsSettingsFragment.java

Lines changed: 0 additions & 87 deletions
This file was deleted.

app/src/main/java/org/schabi/newpipe/settings/SettingsResourceRegistry.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ private SettingsResourceRegistry() {
4141
add(UpdateSettingsFragment.class, R.xml.update_settings);
4242
add(VideoAudioSettingsFragment.class, R.xml.video_audio_settings);
4343
add(ExoPlayerSettingsFragment.class, R.xml.exoplayer_settings);
44-
add(BulletCommentsSettingsFragment.class, R.xml.bullet_comments_settings);
4544
add(BackupRestoreSettingsFragment.class, R.xml.backup_restore_settings);
4645
}
4746

app/src/main/java/org/schabi/newpipe/util/ExtractorHelper.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
import org.schabi.newpipe.extractor.MetaInfo;
4141
import org.schabi.newpipe.extractor.NewPipe;
4242
import org.schabi.newpipe.extractor.Page;
43-
import org.schabi.newpipe.extractor.bulletComments.BulletCommentsInfo;
4443
import org.schabi.newpipe.extractor.channel.ChannelInfo;
4544
import org.schabi.newpipe.extractor.channel.tabs.ChannelTabInfo;
4645
import org.schabi.newpipe.extractor.kiosk.KioskInfo;
@@ -169,15 +168,6 @@ public static Single<KioskInfo> getKioskInfo(final int serviceId,
169168
Single.fromCallable(() -> KioskInfo.getInfo(NewPipe.getService(serviceId), url)));
170169
}
171170

172-
public static Single<BulletCommentsInfo> getBulletCommentsInfo(final int serviceId,
173-
final String url,
174-
final boolean forceLoad) {
175-
checkServiceId(serviceId);
176-
return checkCache(forceLoad, serviceId, url, InfoCache.Type.BULLET_COMMENTS,
177-
Single.fromCallable(() ->
178-
BulletCommentsInfo.getInfo(NewPipe.getService(serviceId), url)));
179-
}
180-
181171
public static Single<InfoItemsPage<StreamInfoItem>> getMoreKioskItems(final int serviceId,
182172
final String url,
183173
final Page nextPage) {

app/src/main/java/org/schabi/newpipe/util/InfoCache.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,8 @@ public enum Type {
5555
CHANNEL,
5656
CHANNEL_TAB,
5757
COMMENTS,
58-
BULLET_COMMENTS,
5958
PLAYLIST,
60-
KIOSK,
59+
KIOSK
6160
}
6261

6362
public static InfoCache getInstance() {

0 commit comments

Comments
 (0)