fix #1179, fix menu buttons at the video player activity

This commit is contained in:
tibbi 2019-01-08 10:03:46 +01:00
parent 8b63d27cdc
commit 7cb5fce4bd

View file

@ -119,6 +119,8 @@ open class VideoPlayerActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListen
override fun onOptionsItemSelected(item: MenuItem): Boolean {
when (item.itemId) {
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)
}
return true