mirror of
https://github.com/lizongying/my-tv.git
synced 2026-11-02 01:26:29 +08:00
switch source
This commit is contained in:
@@ -33,13 +33,13 @@ class PlaybackControlGlue(
|
||||
|
||||
KeyEvent.KEYCODE_DPAD_LEFT -> {
|
||||
if ((context as? MainActivity)?.mainFragmentIsHidden() == true) {
|
||||
(context as? MainActivity)?.prev()
|
||||
(context as? MainActivity)?.prevSource()
|
||||
}
|
||||
}
|
||||
|
||||
KeyEvent.KEYCODE_DPAD_RIGHT -> {
|
||||
if ((context as? MainActivity)?.mainFragmentIsHidden() == true) {
|
||||
(context as? MainActivity)?.next()
|
||||
(context as? MainActivity)?.nextSource()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user