Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove commented log statements #1995

Merged
merged 1 commit into from
Aug 20, 2022
Merged
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 @@ -43,7 +43,5 @@ protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyF
} else {
setBackgroundColor(0);
}

//TvApp.getApplication().getLogger().Debug("Focus on "+mProgram.getName()+ " was " +(gainFocus ? "gained" : "lost"));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ public void setContent(final BaseItemDto program, final ProgramGridCell selected
} else {
mDSummary.setGravity(Gravity.LEFT);
}
//TvApp.getApplication().getLogger().Debug("Text height: "+mDSummary.getHeight() + " (120 = "+Utils.convertDpToPixel(mActivity, 120)+")");

// build timeline info
TvManager.setTimelineRow(mActivity, mDTimeline, program);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyF
} else {
setBackgroundColor(mBackgroundColor);
}

// TvApp.getApplication().getLogger().Debug("Focus on " + mProgram.getName() + " was " + (gainFocus ? "gained" : "lost"));
}

public BaseItemDto getProgram() { return mProgram; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ public void onItemSelected(Presenter.ViewHolder itemViewHolder, Object item,
BaseRowItem rowItem = (BaseRowItem) item;

if (((ListRow) row).getAdapter() instanceof ItemRowAdapter) {
//TvApp.getApplication().getLogger().Debug("Selected Item "+rowItem.getIndex() + " type: "+ (rowItem.getItemType().equals(BaseRowItem.ItemType.BaseItem) ? rowItem.getBaseItem().getType() : "other"));
ItemRowAdapter adapter = (ItemRowAdapter) ((ListRow) row).getAdapter();
adapter.loadMoreItemsIfNeeded(rowItem.getIndex());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,6 @@ public void onItemSelected(Presenter.ViewHolder itemViewHolder, Object item,
BaseRowItem rowItem = (BaseRowItem) item;

if (((ListRow) row).getAdapter() instanceof ItemRowAdapter) {
//TvApp.getApplication().getLogger().Debug("Selected Item "+rowItem.getIndex() + " type: "+ (rowItem.getItemType().equals(BaseRowItem.ItemType.BaseItem) ? rowItem.getBaseItem().getType() : "other"));
ItemRowAdapter adapter = (ItemRowAdapter) ((ListRow) row).getAdapter();
adapter.loadMoreItemsIfNeeded(rowItem.getIndex());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ public void onRowSelected(ItemRowView row) {
// too close to bottom - scroll down
mScrollView.smoothScrollBy(0, y - mBottomScrollThreshold);
}
//TvApp.getApplication().getLogger().Debug("Row selected: "+row.getItem().getName()+" at "+location[1]+" Screen edge: "+mMetrics.heightPixels);
}
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,6 @@ public void onAnimationEnd(Animator animation) {
nextImageView().setAlpha(1f);
currentImageNdx = nextImageNdx;
nextImageNdx = currentImageNdx == 0 ? 1 : 0;
//TvApp.getApplication().getLogger().Debug("Current ndx: "+currentImageNdx+" next: "+nextImageNdx);
isTransitioning = false;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,6 @@ private LinearLayout getProgramRow(List<BaseItemDto> programs, String channelId)
if (end > getCurrentLocalEndDate()) end = getCurrentLocalEndDate();
prevEnd = end;
Long duration = (end - start) / 60000;
//TvApp.getApplication().getLogger().Debug("Duration for "+item.getName()+" is "+duration.intValue());
if (duration > 0) {
ProgramGridCell program = new ProgramGridCell(this, this, item, false);
program.setId(currentCellId++);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ public void setItem(BaseRowItem m, ImageType imageType, int lHeight, int pHeight
aspect = ImageUtils.ASPECT_RATIO_2_3;
break;
case Episode:
//TvApp.getApplication().getLogger().Debug("**** Image width: "+ cardWidth + " Aspect: " + Utils.getImageAspectRatio(itemDto, m.getPreferParentThumb()) + " Item: "+itemDto.getName());
mDefaultCardImage = ContextCompat.getDrawable(mCardView.getContext(), R.drawable.tile_land_tv);
aspect = ImageUtils.ASPECT_RATIO_16_9;
switch (itemDto.getLocationType()) {
Expand Down