diff options
author | Maurice Lam <yukl@google.com> | 2017-05-24 21:12:27 -0700 |
---|---|---|
committer | Maurice Lam <yukl@google.com> | 2017-05-24 21:12:27 -0700 |
commit | ffb2d8f2de805c6e717053caef48db1839e00d64 (patch) | |
tree | 5b4f41bff3e930d2e9ce40f6c83d73250496db16 /library | |
parent | 2ca2eae0367c4fff367e12e41910b2d00170f347 (diff) | |
download | setupwizard-ffb2d8f2de805c6e717053caef48db1839e00d64.tar.gz |
Make IllustrationVideoView's MediaPlayer protected
So that subclasses can listen to events from the media player.
Test: Existing tests pass
Bug: 37752561
Change-Id: If1c4e3bec245b3e72f183dc9a11753418d74f13a
Diffstat (limited to 'library')
-rw-r--r-- | library/main/src/com/android/setupwizardlib/view/IllustrationVideoView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/main/src/com/android/setupwizardlib/view/IllustrationVideoView.java b/library/main/src/com/android/setupwizardlib/view/IllustrationVideoView.java index 989f3e6..11f870c 100644 --- a/library/main/src/com/android/setupwizardlib/view/IllustrationVideoView.java +++ b/library/main/src/com/android/setupwizardlib/view/IllustrationVideoView.java @@ -53,7 +53,7 @@ public class IllustrationVideoView extends TextureView implements Animatable, protected float mAspectRatio = 1.0f; // initial guess until we know - @VisibleForTesting MediaPlayer mMediaPlayer; + protected MediaPlayer mMediaPlayer; private @RawRes int mVideoResId = 0; |