[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGE
am: 8b634e9191 -s ours
Change-Id: I2c4b9184789a1bdae2cec06e0e72f6c6ca049113
diff --git a/libs/hwui/Caches.cpp b/libs/hwui/Caches.cpp
index 0ffd116..3c774a3 100644
--- a/libs/hwui/Caches.cpp
+++ b/libs/hwui/Caches.cpp
@@ -234,13 +234,13 @@
gradientCache.clear();
fontRenderer.clear();
fboCache.clear();
- [[fallthrough]];
+ // fall through
case FlushMode::Moderate:
fontRenderer.flush();
textureCache.flush();
pathCache.clear();
tessellationCache.clear();
- [[fallthrough]];
+ // fall through
case FlushMode::Layers:
renderBufferCache.clear();
break;
diff --git a/libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp b/libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp
index cb50359..270527d5 100644
--- a/libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp
+++ b/libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp
@@ -331,8 +331,7 @@
switch (info.colorType()) {
case kRGBA_8888_SkColorType:
isSupported = true;
- // ARGB_4444 is upconverted to RGBA_8888
- [[fallthrough]];
+ // ARGB_4444 is upconverted to RGBA_8888
case kARGB_4444_SkColorType:
pixelFormat = PIXEL_FORMAT_RGBA_8888;
format = GL_RGBA;