summaryrefslogtreecommitdiff
path: root/include/ui/Surface.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ui/Surface.h')
-rw-r--r--include/ui/Surface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ui/Surface.h b/include/ui/Surface.h
index 156d453b2d20..5665c1fda46f 100644
--- a/include/ui/Surface.h
+++ b/include/ui/Surface.h
@@ -36,6 +36,7 @@ namespace android {
class BufferMapper;
class Rect;
+class MediaPlayerImpl;
class Surface;
class SurfaceComposerClient;
struct per_client_cblk_t;
@@ -180,6 +181,7 @@ private:
// mediaplayer needs access to ISurface for display
friend class MediaPlayer;
friend class Test;
+ friend class MediaPlayerImpl;
const sp<ISurface>& getISurface() const { return mSurface; }
status_t getBufferLocked(int index);