Define SK_SUPPORT_LEGACY_ALPHA_BITMAP_AS_COVERAGE

This flag, along with I01fadaed52eecc42416deb2307d03499bca85a4c (in
upstream Skia), restores the old behavior of treating alpha images as
coverage in the CPU backend. This fixes a regression in a technique apps
use to apply rounded corners to images.

Bug: 231400686
Test: GM in Skia
Change-Id: I4857da2c3dd54e64ca86eb1ea2122096625f8662
(cherry picked from commit 66e866e7f699d0bf3f7c0adde896fdbab7ecab67)
Merged-In: I4857da2c3dd54e64ca86eb1ea2122096625f8662
diff --git a/include/config/SkUserConfigManual.h b/include/config/SkUserConfigManual.h
index 5f11d96..528e406 100644
--- a/include/config/SkUserConfigManual.h
+++ b/include/config/SkUserConfigManual.h
@@ -32,4 +32,8 @@
   #define SK_DISABLE_DAA  // skbug.com/6886
 
   #define SK_ABORT(...) __android_log_assert(nullptr, "skia", ##__VA_ARGS__)
+
+  // TODO (b/239048372): Remove this flag when we can safely migrate apps to the
+  // new behavior.
+  #define SK_SUPPORT_LEGACY_ALPHA_BITMAP_AS_COVERAGE
 #endif // SkUserConfigManual_DEFINED