summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author rnlee <rnlee@google.com> 2021-08-04 13:01:06 -0700
committer Rachel Lee <rnlee@google.com> 2021-08-05 17:49:14 +0000
commitc7761eee93c2f4be163acc988f257fe48e8d7acf (patch)
treed72bbb770bc43afdd8c1c30bbdef6d629e5bfc0c
parente47d243cb1c209873f9847e69d5dce2df2566702 (diff)
Enable -Wconversion for RenderArea.
Bug: 129481165 Test: make; atest libsurfaceflinger_unittest Change-Id: I9631fc94f99de2936a44660969b55c2fb055f738
-rw-r--r--services/surfaceflinger/RenderArea.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/services/surfaceflinger/RenderArea.cpp b/services/surfaceflinger/RenderArea.cpp
index 9a6c8533ea..5fea521f18 100644
--- a/services/surfaceflinger/RenderArea.cpp
+++ b/services/surfaceflinger/RenderArea.cpp
@@ -14,10 +14,6 @@
* 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 "RenderArea.h"
namespace android {
@@ -33,6 +29,3 @@ float RenderArea::getCaptureFillValue(CaptureFill captureFill) {
}
} // namespace android
-
-// TODO(b/129481165): remove the #pragma below and fix conversion issues
-#pragma clang diagnostic pop // ignored "-Wconversion"