Rename FireTvUtils to AndroidTvUtils and isFireTv() to isTV()

Because those methods are no longer exclusive to Amazon devices
This commit is contained in:
Alexander-- 2020-01-29 03:15:50 +06:59
parent b1a2612958
commit 909d1bbccc
8 changed files with 20 additions and 21 deletions

View file

@ -40,7 +40,7 @@ import org.schabi.newpipe.extractor.StreamingService;
import org.schabi.newpipe.extractor.exceptions.ParsingException;
import org.schabi.newpipe.extractor.search.SearchExtractor;
import org.schabi.newpipe.extractor.search.SearchInfo;
import org.schabi.newpipe.util.FireTvUtils;
import org.schabi.newpipe.util.AndroidTvUtils;
import org.schabi.newpipe.fragments.BackPressable;
import org.schabi.newpipe.fragments.list.BaseListFragment;
import org.schabi.newpipe.local.history.HistoryRecordManager;
@ -471,7 +471,7 @@ public class SearchFragment
if (isSuggestionsEnabled && errorPanelRoot.getVisibility() != View.VISIBLE) {
showSuggestionsPanel();
}
if(FireTvUtils.isFireTv()){
if(AndroidTvUtils.isTv()){
showKeyboardSearch();
}
});