Commit 01e4a8ff authored by Mathias Agopian's avatar Mathias Agopian
Browse files

cleanup includes

Change-Id: Ia98b76b2e0c49ee257e1f31c61c2d6f72a9fe894
parent 750c5c1c
......@@ -14,15 +14,17 @@
* limitations under the License.
*/
#include <system/window.h>
#include <utils/StrongPointer.h>
#include <gui/Surface.h>
#include "sles_allinclusive.h"
#include "utils/RefBase.h"
#include "android_prompts.h"
// LocAVPlayer and StreamPlayer derive from GenericMediaPlayer,
// so no need to #include "android_GenericMediaPlayer.h"
#include "android_LocAVPlayer.h"
#include "android_StreamPlayer.h"
//-----------------------------------------------------------------------------
static void player_handleMediaPlayerEventNotifications(int event, int data1, int data2, void* user)
{
......
......@@ -14,9 +14,7 @@
* limitations under the License.
*/
#include <surfaceflinger/Surface.h>
#include <gui/ISurfaceTexture.h>
#include <system/window.h>
/**************************************************************************************************
* Player lifecycle
......
......@@ -19,9 +19,9 @@
#include "sles_allinclusive.h"
#include "android_GenericMediaPlayer.h"
#include <system/window.h>
#include <media/IMediaPlayerService.h>
#include <surfaceflinger/ISurfaceComposer.h>
#include <surfaceflinger/SurfaceComposerClient.h>
#include <media/stagefright/foundation/ADebug.h>
#include <media/mediaplayer.h> // media_event_type media_error_type media_info_type
......
......@@ -20,7 +20,6 @@
#include "android_GenericPlayer.h"
#include <binder/IServiceManager.h>
#include <surfaceflinger/Surface.h>
#include <gui/ISurfaceTexture.h>
......
......@@ -19,7 +19,6 @@
#include "sles_allinclusive.h"
#ifdef ANDROID
#include <gui/SurfaceTextureClient.h>
#include "android/android_GenericMediaPlayer.h"
using namespace android;
#endif
......
......@@ -20,8 +20,8 @@
// that are not part of the NDK supported APIs, and are subject to change at any time.
#include <binder/ProcessState.h>
#include <surfaceflinger/ISurfaceComposer.h>
#include <surfaceflinger/SurfaceComposerClient.h>
#include <gui/Surface.h>
#include <gui/SurfaceComposerClient.h>
#include <utils/String8.h>
#include "nativewindow.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment