Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import java.util.Set;

public class HQDialogController extends BasePlayerController {
private static final String TAG = HQDialogController.class.getSimpleName();
private static final int VIDEO_FORMATS_ID = 132;
private static final int AUDIO_FORMATS_ID = 133;
// NOTE: using map, because same item could be changed time to time
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
import java.util.concurrent.CopyOnWriteArrayList;

public class PlaybackPresenter extends BasePresenter<PlaybackView> implements PlayerEventListener {
private static final String TAG = PlaybackPresenter.class.getSimpleName();
@SuppressLint("StaticFieldLeak")
private static PlaybackPresenter sInstance;
private final List<PlayerEventListener> mEventListeners = new CopyOnWriteArrayList<PlayerEventListener>() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import com.liskovsoft.smartyoutubetv2.common.app.views.SignInView;

public class SignInPresenter extends BasePresenter<SignInView> {
private static final String TAG = SignInPresenter.class.getSimpleName();
@SuppressLint("StaticFieldLeak")
private static SignInPresenter sInstance;
private SignInPresenter mPresenter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import java.util.List;

public class AccountSelectionPresenter extends BasePresenter<Void> {
private static final String TAG = AccountSelectionPresenter.class.getSimpleName();
@SuppressLint("StaticFieldLeak")
private static AccountSelectionPresenter sInstance;
private final SignInService mSignInService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
import com.liskovsoft.smartyoutubetv2.common.utils.LoadingManager;

public class VideoActionPresenter extends BasePresenter<Void> {
private static final String TAG = VideoActionPresenter.class.getSimpleName();

private VideoActionPresenter(Context context) {
super(context);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import java.util.Map;

public class SectionMenuPresenter extends BaseMenuPresenter {
private static final String TAG = SectionMenuPresenter.class.getSimpleName();
private final AppDialogPresenter mDialogPresenter;
private Video mVideo;
private BrowseSection mSection;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import java.util.List;

public class AccountSettingsPresenter extends BasePresenter<Void> {
private static final String TAG = AccountSettingsPresenter.class.getSimpleName();
@SuppressLint("StaticFieldLeak")
private static AccountSettingsPresenter sInstance;
private final MediaServiceManager mMediaServiceManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import java.util.List;

public class BackupSettingsPresenter extends BasePresenter<Void> {
private static final String TAG = BackupSettingsPresenter.class.getSimpleName();
@SuppressLint("StaticFieldLeak")
private static BackupSettingsPresenter sInstance;
private final GDriveBackupManager mGDriveBackupManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
* a {@link SimpleExoPlayer}.
*/
public final class DebugInfoManager implements Runnable, Player.EventListener {
private static final String TAG = DebugInfoManager.class.getSimpleName();
private static final int REFRESH_INTERVAL_MS = 1000;
private static final String NOT_AVAILABLE = "none";
private final float mTextSize;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import java.util.List;

public class SubtitleManager implements TextOutput, OnDataChange {
private static final String TAG = SubtitleManager.class.getSimpleName();
private final SubtitleView mSubtitleView;
private final Context mContext;
private final List<SubtitleStyle> mSubtitleStyles = new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
* Main intent: override audio delay
*/
public class CustomOverridesRenderersFactory extends CustomRenderersFactoryBase {
private static final String TAG = CustomOverridesRenderersFactory.class.getSimpleName();
private static final String[] FRAME_DROP_FIX_LIST = {
"T95ZPLUS (q201_3GB)",
"UGOOS (UGOOS)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import java.nio.ByteBuffer;

public class DelayMediaCodecAudioRenderer extends MediaCodecAudioRenderer {
private static final String TAG = DelayMediaCodecAudioRenderer.class.getSimpleName();
private int mDelayUs;
private boolean mIsAudioSyncFixEnabled;
private boolean mIsAudioSyncFixChanged;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import com.liskovsoft.smartyoutubetv2.common.misc.MediaServiceManager.AccountChangeListener;

public class AppPrefs extends SharedPreferencesBase implements AccountChangeListener {
private static final String TAG = AppPrefs.class.getSimpleName();
private static final String PREFS_DIR = "app_prefs";
@SuppressLint("StaticFieldLeak")
private static AppPrefs sInstance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ public class RemoteControlData extends DataChangeBase {
private final Context mContext;
private final AppPrefs mAppPrefs;
private boolean mIsDeviceLinkEnabled;
private boolean mIsRunInBackgroundEnabled;
private boolean mIsFinishOnDisconnectEnabled;
private boolean mIsConnectMessagesEnabled;
private boolean mIsRemoteHistoryDisabled;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
public class IntentExtractor {
public static final String RESTART_INTENT = "RESTART_INTENT";
public static final String INCOGNITO_INTENT = "INCOGNITO_INTENT";
private static final String TAG = IntentExtractor.class.getSimpleName();
/**
* Browser: https://www.youtube.com/results?search_query=twice<br/>
* Amazon: youtube://search?query=linkin+park&isVoice=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
*/
public final class ExoPlayerLibraryInfo {

/**
* A tag to use when logging library information.
*/
public static final String TAG = "ExoPlayer";

/** The version of the library expressed as a string, for example "1.2.3". */
// Intentionally hardcoded. Do not derive from other constants (e.g. VERSION_INT) or vice versa.
public static final String VERSION = "2.10.6";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@

/** Decodes ICY stream information. */
public final class IcyDecoder implements MetadataDecoder {

private static final String TAG = "IcyDecoder";

private static final Pattern METADATA_ELEMENT = Pattern.compile("(.+?)='(.*?)';", Pattern.DOTALL);
private static final String STREAM_KEY_NAME = "streamtitle";
private static final String STREAM_KEY_URL = "streamurl";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ public class MediaPlayerGlue extends PlaybackControlGlue implements

public static final int FAST_FORWARD_REWIND_STEP = 10 * 1000; // in milliseconds
public static final int FAST_FORWARD_REWIND_REPEAT_DELAY = 200; // in milliseconds
private static final String TAG = "MediaPlayerGlue";
protected final PlaybackControlsRow.ThumbsDownAction mThumbsDownAction;
protected final PlaybackControlsRow.ThumbsUpAction mThumbsUpAction;
MediaPlayer mPlayer = new MediaPlayer();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
*/
@RequiresApi(19)
class SlideKitkat extends Visibility {
private static final String TAG = "SlideKitkat";

private static final TimeInterpolator sDecelerate = new DecelerateInterpolator();
private static final TimeInterpolator sAccelerate = new AccelerateInterpolator();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@
* call {@link BuilderBase#applyValues(GuidedAction)}.
*/
public class GuidedAction extends Action {

private static final String TAG = "GuidedAction";

/**
* Special check set Id that is neither checkbox nor radio.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,6 @@ public void onAnimationEnd(Animator animation) {
}
}

private static final String TAG = "GuidedActionsStylist";

ViewGroup mMainView;
private VerticalGridView mActionsGridView;
VerticalGridView mSubActionsGridView;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@
*/
public class TimePicker extends Picker {

static final String TAG = "TimePicker";

private static final int AM_INDEX = 0;
private static final int PM_INDEX = 1;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import com.liskovsoft.smartyoutubetv2.tv.ui.common.LeanbackActivity;

public class BrowseActivity extends LeanbackActivity {
private static final String TAG = BrowseActivity.class.getSimpleName();

@Override
public void onCreate(Bundle savedInstanceState) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
* Main class to show BrowseFragment with header and rows of videos
*/
public class BrowseFragment extends BrowseSupportFragment implements BrowseView {
private static final String TAG = BrowseFragment.class.getSimpleName();
private ArrayObjectAdapter mSectionRowAdapter;
private BrowsePresenter mBrowsePresenter;
private Map<Integer, BrowseSection> mSections;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import java.util.List;

public class SettingsGridFragment extends GridFragment implements SettingsSection {
private static final String TAG = SettingsGridFragment.class.getSimpleName();
private ArrayObjectAdapter mSettingsAdapter;
private BrowsePresenter mMainPresenter;
private UriBackgroundManager mBackgroundManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
import java.util.List;

public class MultiVideoGridFragment extends MultiGridFragment implements VideoSection {
private static final String TAG = MultiVideoGridFragment.class.getSimpleName();
private HeaderVideoGroupObjectAdapter mGridAdapter1;
private VideoGroupObjectAdapter mGridAdapter2;
private final List<VideoGroup> mPendingUpdates1 = new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
import java.util.List;

public class VideoGridFragment extends GridFragment implements VideoSection {
private static final String TAG = VideoGridFragment.class.getSimpleName();
private static final int RESTORE_MAX_SIZE = 10_000;
private VideoGroupObjectAdapter mGridAdapter;
private final List<VideoGroup> mPendingUpdates = new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import com.liskovsoft.smartyoutubetv2.tv.ui.common.LeanbackActivity;

public class ChannelActivity extends LeanbackActivity {
private static final String TAG = ChannelActivity.class.getSimpleName();
private ChannelFragment mFragment;

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import com.liskovsoft.googlecommon.common.helpers.YouTubeHelper;

public class ChannelFragment extends MultipleRowsFragment implements ChannelView {
private static final String TAG = ChannelFragment.class.getSimpleName();
private ChannelPresenter mChannelPresenter;
private ProgressBarManager mProgressBarManager;
private boolean mIsFragmentCreated;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import com.liskovsoft.smartyoutubetv2.tv.ui.common.LeanbackActivity;

public class ChannelUploadsActivity extends LeanbackActivity {
private static final String TAG = ChannelUploadsActivity.class.getSimpleName();
private ChannelUploadsFragment mFragment;

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import com.liskovsoft.smartyoutubetv2.tv.util.ViewUtil;

public class UriBackgroundManager {
private static final String TAG = UriBackgroundManager.class.getSimpleName();
private static final int BACKGROUND_UPDATE_DELAY_MS = 300;
private Uri mBackgroundURI;
private Drawable mDefaultBackground;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import com.liskovsoft.smartyoutubetv2.tv.R;

public class DoubleBackManager2 {
private static final String TAG = DoubleBackManager2.class.getSimpleName();
private static final int DEFAULT_REPEAT_COUNT = 2;
private final Context mContext;
private int mRepeatCount;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import com.liskovsoft.smartyoutubetv2.common.misc.MotherActivity;

public class SplashActivity extends MotherActivity implements SplashView {
private static final String TAG = SplashActivity.class.getSimpleName();
private Intent mNewIntent;
private SplashPresenter mPresenter;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
* Disables this behavior when seeking: <em>Show or hide other rows other than PlaybackRow.</em>
*/
public class SeekModePlaybackFragment extends EventsOverridePlaybackFragment {
private static final String TAG = SeekModePlaybackFragment.class.getSimpleName();
private static final int START_FADE_OUT = 1;
private PlaybackSeekUi.Client mSeekUiClient2;
private boolean mInSeek;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

public class SearchTagsActivity extends LeanbackActivity {
private SearchTagsFragment mFragment;
private boolean mDownPressed;

@Override
public void onCreate(Bundle savedInstanceState) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
import com.liskovsoft.smartyoutubetv2.tv.ui.common.LeanbackActivity;

public class WebBrowserActivity extends LeanbackActivity {
private static final String TAG = WebBrowserActivity.class.getSimpleName();

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
* https://chatgpt.com/c/6806b729-1ab0-8010-94f0-56f6b71cdbfb
*/
public class EmbedPlayerView extends PlayerView implements PlaybackView {
private static final String TAG = EmbedPlayerView.class.getSimpleName();
public static final int QUALITY_LOW = 0;
public static final int QUALITY_NORMAL = 1;
private SimpleExoPlayer mPlayer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
import com.liskovsoft.smartyoutubetv2.tv.R;

public class CardProgressBar extends ProgressBar {
private static final String TAG = CardProgressBar.class.getSimpleName();

public CardProgressBar(Context context) {
super(context, null, R.attr.cardProgressStyle);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ public static void enableTransparentDialog(Context context, View rootView) {
View itemsContainer = rootView.findViewById(R.id.list);
View title = rootView.findViewById(R.id.decor_title_container);
int transparent = ContextCompat.getColor(context, R.color.transparent);
int semiTransparent = ContextCompat.getColor(context, R.color.semi_grey);

// Disable shadow outline on parent fragment
if (mainContainer instanceof FrameLayout && VERSION.SDK_INT >= 21) {
Expand Down