diff options
author | Zhiquan Liu <zhiquan.liu@intel.com> | 2016-03-03 15:24:41 +0800 |
---|---|---|
committer | Zhiquan Liu <zhiquan.liu@intel.com> | 2016-03-03 15:24:41 +0800 |
commit | 4b2a105055d37579f1d234c02f4e14c38ca3ed43 (patch) | |
tree | cd52b7cc16c0bb9dceea01221b6accc1e957047e | |
parent | afcf267cbd86316cd98c96bc82400479c965d8d6 (diff) | |
download | frameworks_native-4b2a105055d37579f1d234c02f4e14c38ca3ed43.zip frameworks_native-4b2a105055d37579f1d234c02f4e14c38ca3ed43.tar.gz frameworks_native-4b2a105055d37579f1d234c02f4e14c38ca3ed43.tar.bz2 |
"#warning" conflict with -Werror
if code run #warning, it will have compile error.
Change-Id: Ic7f05cd722c14f3c5da89e2c3792615dd15cb798
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
-rw-r--r-- | services/surfaceflinger/Layer.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index 5ff79a9..4a701e8 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp @@ -134,7 +134,6 @@ void Layer::onFirstRef() { mSurfaceFlingerConsumer->setName(mName); #ifdef TARGET_DISABLE_TRIPLE_BUFFERING -#warning "disabling triple buffering" mSurfaceFlingerConsumer->setDefaultMaxBufferCount(2); #else mSurfaceFlingerConsumer->setDefaultMaxBufferCount(3); |