diff options
author | Jean Johnson <jean-johnson@ti.com> | 2011-04-15 01:06:55 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@git.omapzoom.org> | 2011-04-15 01:06:56 -0500 |
commit | 9f056be67dfbac7b9606e248ffe34847ccd4fb2b (patch) | |
tree | 7b5b6d041e1fecddab12f335f77c66f4e8766db6 | |
parent | 86a07dd498bc7ede748ccf394a2171f54ddad8fb (diff) | |
parent | 29630566cf3880095d244c789ac1bab2c9959302 (diff) | |
download | base-9f056be67dfbac7b9606e248ffe34847ccd4fb2b.tar.gz |
Merge "VideoView fix for pause/resume scenrio during AV Playback on HDMI" into p-gingerbread
-rwxr-xr-x | core/java/android/widget/VideoView.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/widget/VideoView.java b/core/java/android/widget/VideoView.java index 22fbb2c11b6f..b30f68997605 100755 --- a/core/java/android/widget/VideoView.java +++ b/core/java/android/widget/VideoView.java @@ -645,6 +645,11 @@ public class VideoView extends SurfaceView implements MediaPlayerControl { if (isInPlaybackState()) { mMediaPlayer.start(); mCurrentState = STATE_PLAYING; + if(SystemProperties.OMAP_ENHANCEMENT) { + Intent hdmiIntent = mContext.registerReceiver(null, + new IntentFilter(ACTION_HDMI_PLUG)); + mReceiver.onReceive(mContext, hdmiIntent); + } } mTargetState = STATE_PLAYING; } |