summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2020-01-16 17:17:14 -0800
committer Ady Abraham <adyabr@google.com> 2020-01-16 17:18:13 -0800
commitfbb86a6baec5b0e91a94413a629d7a49f000d28b (patch)
treeb37be5602e2459569fb8cb6fee7d0dfbfc7948f9
parentf3363964cc3a989e7dd7b15f27923fce90142faa (diff)
SurfaceFlinger: disable -Wconversion for SetFrameRate_test.cpp
Test: build Bug: 147835296 Change-Id: Iffa7674a4e1d92b9e5a84fac49806daac7feed5d
-rw-r--r--services/surfaceflinger/tests/SetFrameRate_test.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/services/surfaceflinger/tests/SetFrameRate_test.cpp b/services/surfaceflinger/tests/SetFrameRate_test.cpp
index 4d1477cf8d..fc652636ed 100644
--- a/services/surfaceflinger/tests/SetFrameRate_test.cpp
+++ b/services/surfaceflinger/tests/SetFrameRate_test.cpp
@@ -14,6 +14,10 @@
* limitations under the License.
*/
+// TODO(b/129481165): remove the #pragma below and fix conversion issues
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wconversion"
+
#include <system/window.h>
#include <thread>
@@ -69,3 +73,6 @@ TEST_F(SetFrameRateTest, BufferStateLayerSetFrameRate) {
}
} // namespace android
+
+// TODO(b/129481165): remove the #pragma below and fix conversion issues
+#pragma clang diagnostic pop // ignored "-Wconversion" \ No newline at end of file