mirror of
https://github.com/androidx/media.git
synced 2025-05-14 02:59:52 +08:00
Reset aspect ratio
This commit is contained in:
parent
72a2b82370
commit
5635ca2792
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user