fix #1179, fix menu buttons at the video player activity
This commit is contained in:
parent
8b63d27cdc
commit
7cb5fce4bd
|
@ -119,6 +119,8 @@ open class VideoPlayerActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListen
|
||||||
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
||||||
when (item.itemId) {
|
when (item.itemId) {
|
||||||
R.id.menu_change_orientation -> changeOrientation()
|
R.id.menu_change_orientation -> changeOrientation()
|
||||||
|
R.id.menu_open_with -> openPath(mUri!!.toString(), true)
|
||||||
|
R.id.menu_share -> shareMediumPath(mUri!!.toString())
|
||||||
else -> return super.onOptionsItemSelected(item)
|
else -> return super.onOptionsItemSelected(item)
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in New Issue