SponsorBlock: Made the FocusAwareSeekBar extend MarkableSeekBar
SponsorBlock's sponsor times overlay and Android TV support were developed in parallel, this merges the changes of both.
This commit is contained in:
parent
d67a8e1ae2
commit
d30178f68f
2 changed files with 2 additions and 4 deletions
|
@ -24,8 +24,6 @@ import android.view.KeyEvent;
|
|||
import android.view.ViewTreeObserver;
|
||||
import android.widget.SeekBar;
|
||||
|
||||
import androidx.appcompat.widget.AppCompatSeekBar;
|
||||
|
||||
import org.schabi.newpipe.util.AndroidTvUtils;
|
||||
|
||||
/**
|
||||
|
@ -33,7 +31,7 @@ import org.schabi.newpipe.util.AndroidTvUtils;
|
|||
* (onStartTrackingTouch/onStopTrackingTouch), so existing code does not need to be changed to
|
||||
* work with it.
|
||||
*/
|
||||
public final class FocusAwareSeekBar extends AppCompatSeekBar {
|
||||
public final class FocusAwareSeekBar extends MarkableSeekBar {
|
||||
private NestedListener listener;
|
||||
|
||||
private ViewTreeObserver treeObserver;
|
||||
|
|
|
@ -455,7 +455,7 @@
|
|||
tools:text="1:06:29"/>
|
||||
|
||||
|
||||
<org.schabi.newpipe.views.MarkableSeekBar
|
||||
<org.schabi.newpipe.views.FocusAwareSeekBar
|
||||
android:id="@+id/playbackSeekBar"
|
||||
style="@style/Widget.AppCompat.SeekBar"
|
||||
android:layout_width="0dp"
|
||||
|
|
Loading…
Reference in a new issue