Reset aspect ratio

This commit is contained in:
Jovche Mitrejchevski 2018-07-27 12:03:18 +02:00
parent 72a2b82370
commit 5635ca2792

View File

@ -1079,6 +1079,9 @@ public class PlayerView extends FrameLayout {
private boolean setDrawableArtwork(Drawable drawable) {
if(drawable != null) {
artworkView.setImageDrawable(drawable);
if(contentFrame != null) {
contentFrame.setAspectRatio(0);
}
}
return true;
}