diff options
| author | 2018-03-28 15:29:00 -0700 | |
|---|---|---|
| committer | 2018-03-29 15:28:14 -0700 | |
| commit | fd997e0969100418b4df8b8d97d21d497afa76c3 (patch) | |
| tree | 02c194f3b987994405472e435f53ab6ae757c1bd /libs/gui/Surface.cpp | |
| parent | f228d58990fe4f2e66bf952b93dbebcf7db5ec3e (diff) | |
Add proper namespace to GraphicTypes.
Renamed GraphicsTypes.h to GraphicTypes.h and added proper namespace to avoid
naming conflict.
BUG: 77156734
Test: Build and flash
Change-Id: Ibd9f454b5b72d5f8c6d94a3869a60a1bf821f106
Merged-In: Ibd9f454b5b72d5f8c6d94a3869a60a1bf821f106
Diffstat (limited to 'libs/gui/Surface.cpp')
| -rw-r--r-- | libs/gui/Surface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/gui/Surface.cpp b/libs/gui/Surface.cpp index 2e1c24b755..6a1aebd6d6 100644 --- a/libs/gui/Surface.cpp +++ b/libs/gui/Surface.cpp @@ -44,6 +44,8 @@ namespace android { +using ui::ColorMode; + Surface::Surface(const sp<IGraphicBufferProducer>& bufferProducer, bool controlledByApp) : mGraphicBufferProducer(bufferProducer), mCrop(Rect::EMPTY_RECT), |