AndroidTvUtils -> DeviceUtils
This commit is contained in:
parent
06e70abb86
commit
c7ccf9bab8
13 changed files with 47 additions and 47 deletions
|
|
@ -26,7 +26,7 @@ import android.widget.SeekBar;
|
|||
|
||||
import androidx.appcompat.widget.AppCompatSeekBar;
|
||||
|
||||
import org.schabi.newpipe.util.AndroidTvUtils;
|
||||
import org.schabi.newpipe.util.DeviceUtils;
|
||||
|
||||
/**
|
||||
* SeekBar, adapted for directional navigation. It emulates touch-related callbacks
|
||||
|
|
@ -60,7 +60,7 @@ public final class FocusAwareSeekBar extends AppCompatSeekBar {
|
|||
|
||||
@Override
|
||||
public boolean onKeyDown(final int keyCode, final KeyEvent event) {
|
||||
if (!isInTouchMode() && AndroidTvUtils.isConfirmKey(keyCode)) {
|
||||
if (!isInTouchMode() && DeviceUtils.isConfirmKey(keyCode)) {
|
||||
releaseTrack();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue