Merge "Don't error out because SensorEventConnection::dump overloads BBinder::dump"

This commit is contained in:
Chih-hung Hsieh 2014-11-25 23:45:38 +00:00 committed by Gerrit Code Review
commit 46ca041f43
1 changed files with 7 additions and 0 deletions

View File

@ -37,6 +37,13 @@
#include "SensorInterface.h"
#if __clang__
// Clang warns about SensorEventConnection::dump hiding BBinder::dump
// The cause isn't fixable without changing the API, so let's tell clang
// this is indeed intentional.
#pragma clang diagnostic ignored "-Woverloaded-virtual"
#endif
// ---------------------------------------------------------------------------
#define DEBUG_CONNECTIONS false