summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2011-10-26 18:36:31 -0700
committerJamie Gennis <jgennis@google.com>2011-10-26 18:40:00 -0700
commit2fa0ac2e44f553e29b0d83a5dd87f7dda5422811 (patch)
tree557bc34832113716b320acc208ecdd584d83b793 /include
parented12460301cf0e04ac61993aaf1142f75f504814 (diff)
downloadframeworks_base-2fa0ac2e44f553e29b0d83a5dd87f7dda5422811.zip
frameworks_base-2fa0ac2e44f553e29b0d83a5dd87f7dda5422811.tar.gz
frameworks_base-2fa0ac2e44f553e29b0d83a5dd87f7dda5422811.tar.bz2
Stagefright: ANW::connect in MediaPlayerService
This change moves the ANativeWindow connect and disconnect logic from MediaPlayer to MediaPlayerService::Client. Bug: 5502654 Change-Id: Ifc43b98b01ad8f35d62d7ece43110724ec7fda3d
Diffstat (limited to 'include')
-rw-r--r--include/media/mediaplayer.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/media/mediaplayer.h b/include/media/mediaplayer.h
index e98d55c..08835fb 100644
--- a/include/media/mediaplayer.h
+++ b/include/media/mediaplayer.h
@@ -209,7 +209,6 @@ private:
status_t prepareAsync_l();
status_t getDuration_l(int *msec);
status_t attachNewPlayer(const sp<IMediaPlayer>& player);
- void disconnectNativeWindow();
status_t reset_l();
sp<IMediaPlayer> mPlayer;
@@ -233,8 +232,6 @@ private:
int mVideoHeight;
int mAudioSessionId;
float mSendLevel;
- sp<ANativeWindow> mConnectedWindow;
- sp<IBinder> mConnectedWindowBinder;
};
}; // namespace android