Skip to content

Commit

Permalink
Update to 1.5.8
Browse files Browse the repository at this point in the history
  • Loading branch information
martijn00 committed May 13, 2016
2 parents 7590b94 + 0000835 commit da5620a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ExoPlayer/ExoPlayer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.Bindings.targets" />
<ItemGroup>
<LibraryProjectZip Include="Jars\exoplayer-r1.5.6.aar" />
<LibraryProjectZip Include="Jars\exoplayer-r1.5.8.aar" />
</ItemGroup>
</Project>
Binary file removed ExoPlayer/Jars/exoplayer-r1.5.6.aar
Binary file not shown.
Binary file added ExoPlayer/Jars/exoplayer-r1.5.8.aar
Binary file not shown.
3 changes: 2 additions & 1 deletion Samples/Official Demo/PlayerActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,7 @@ public override void SetMediaPlayer(IMediaPlayerControl playerControl)
public override bool DispatchKeyEvent(KeyEvent ev)
{
var keyCode = ev.KeyCode;
if (_playerControl.CanSeekForward() && (keyCode == Keycode.MediaFastForward || keyCode == Keycode.DpadRight))
if (_playerControl.CanSeekForward() && keyCode == Keycode.MediaFastForward)
{
if (ev.Action == KeyEventActions.Down)
Expand All @@ -736,7 +737,7 @@ public override bool DispatchKeyEvent(KeyEvent ev)
}
return true;
}
if (_playerControl.CanSeekBackward() && keyCode == Keycode.MediaRewind)
else if (_playerControl.CanSeekBackward() && (keyCode == Keycode.MediaRewind || keyCode == Keycode.DpadLeft))
{
if (ev.Action == KeyEventActions.Down)
{
Expand Down
3 changes: 2 additions & 1 deletion nuspec/Xam.Plugins.Android.ExoPlayer.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Xam.Plugins.Android.ExoPlayer</id>
<version>1.5.6</version>
<version>1.5.8</version>
<title>ExoPlayer Control for Xamarin.Android</title>
<authors>Martijn van Dijk</authors>
<owners>Martijn van Dijk</owners>
Expand All @@ -15,5 +15,6 @@
</metadata>
<files>
<file src="..\ExoPlayer\bin\Release\ExoPlayer.dll" target="lib\MonoAndroid\ExoPlayer.dll" />
<file src="..\ExoPlayer\bin\Release\ExoPlayer.dll.mdb" target="lib\MonoAndroid\ExoPlayer.dll.mdb" />
</files>
</package>

0 comments on commit da5620a

Please sign in to comment.