Compare commits
No commits in common. "ef238a8b81df30f152dd19aec3c2de74aa4a8804" and "155e66d07f6184359db24457da343c1ebaf13de0" have entirely different histories.
ef238a8b81
...
155e66d07f
3 changed files with 6 additions and 12 deletions
|
@ -20,8 +20,8 @@ android {
|
|||
resValue "string", "app_name", "NewPipe SponsorBlock"
|
||||
minSdk 21
|
||||
targetSdk 33
|
||||
versionCode 996
|
||||
versionName "0.26.1"
|
||||
versionCode 995
|
||||
versionName "0.26.0"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@ import org.schabi.newpipe.extractor.ListExtractor;
|
|||
import org.schabi.newpipe.extractor.channel.tabs.ChannelTabInfo;
|
||||
import org.schabi.newpipe.extractor.exceptions.ParsingException;
|
||||
import org.schabi.newpipe.extractor.linkhandler.ListLinkHandler;
|
||||
import org.schabi.newpipe.extractor.linkhandler.ListLinkHandlerFactory;
|
||||
import org.schabi.newpipe.extractor.linkhandler.ReadyChannelTabListLinkHandler;
|
||||
import org.schabi.newpipe.extractor.stream.StreamInfoItem;
|
||||
import org.schabi.newpipe.fragments.list.BaseListInfoFragment;
|
||||
|
@ -129,13 +128,10 @@ public class ChannelTabFragment extends BaseListInfoFragment<InfoItem, ChannelTa
|
|||
// once `handleResult` is called, the parsed data was already saved to cache, so
|
||||
// we can discard any raw data in ReadyChannelTabListLinkHandler and create a
|
||||
// link handler with identical properties, but without any raw data
|
||||
final ListLinkHandlerFactory channelTabLHFactory = result.getService()
|
||||
.getChannelTabLHFactory();
|
||||
if (channelTabLHFactory != null) {
|
||||
// some services do not not have a ChannelTabLHFactory
|
||||
tabHandler = channelTabLHFactory.fromQuery(tabHandler.getId(),
|
||||
tabHandler.getContentFilters(), tabHandler.getSortFilter());
|
||||
}
|
||||
tabHandler = result.getService()
|
||||
.getChannelTabLHFactory()
|
||||
.fromQuery(tabHandler.getId(), tabHandler.getContentFilters(),
|
||||
tabHandler.getSortFilter());
|
||||
} catch (final ParsingException e) {
|
||||
// silently ignore the error, as the app can continue to function normally
|
||||
Log.w(TAG, "Could not recreate channel tab handler", e);
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
Fixed a NullPointerException when opening a channel / conference in media.ccc.de.
|
||||
The Grinch tried to break our Christmas gift to you, but we fixed it.
|
Loading…
Reference in a new issue