Merge "Don't error out because SensorEventConnection::dump overloads BBinder::dump"
This commit is contained in:
commit
46ca041f43
@ -37,6 +37,13 @@
|
|||||||
|
|
||||||
#include "SensorInterface.h"
|
#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
|
#define DEBUG_CONNECTIONS false
|
||||||
|
Loading…
Reference in New Issue
Block a user