am 46ca041f: Merge "Don\'t error out because SensorEventConnection::dump overloads BBinder::dump"

* commit '46ca041f43e3d80029782b12c994b232dc01b5d5':
  Don't error out because SensorEventConnection::dump overloads BBinder::dump
This commit is contained in:
Chih-hung Hsieh 2014-11-25 23:55:52 +00:00 committed by Android Git Automerger
commit 7d831769fc

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