mirror of
https://github.com/lizongying/my-tv.git
synced 2026-11-13 15:06:30 +08:00
fix the menu did not appear
This commit is contained in:
@@ -236,8 +236,11 @@ class MainActivity : FragmentActivity() {
|
||||
return true
|
||||
}
|
||||
|
||||
KeyEvent.KEYCODE_ENTER -> {
|
||||
switchMainFragment()
|
||||
}
|
||||
|
||||
KeyEvent.KEYCODE_DPAD_CENTER -> {
|
||||
Log.i(TAG, "KEYCODE_DPAD_CENTER")
|
||||
switchMainFragment()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user