From 2fa0ac2e44f553e29b0d83a5dd87f7dda5422811 Mon Sep 17 00:00:00 2001 From: Jamie Gennis Date: Wed, 26 Oct 2011 18:36:31 -0700 Subject: Stagefright: ANW::connect in MediaPlayerService This change moves the ANativeWindow connect and disconnect logic from MediaPlayer to MediaPlayerService::Client. Bug: 5502654 Change-Id: Ifc43b98b01ad8f35d62d7ece43110724ec7fda3d --- include/media/mediaplayer.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') 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& player); - void disconnectNativeWindow(); status_t reset_l(); sp mPlayer; @@ -233,8 +232,6 @@ private: int mVideoHeight; int mAudioSessionId; float mSendLevel; - sp mConnectedWindow; - sp mConnectedWindowBinder; }; }; // namespace android -- cgit v1.1