Clean up launched flag `bitmap_parcel_ashmem_as_immutable`

Bug: 400807118
Fixes: 444172326
Test: BitmapTest
Flag: EXEMPT cleanup of launched flag
Change-Id: Id66fa4bac72ea9fa6ecba32e59969b5831da7cc9
diff --git a/libs/hwui/aconfig/hwui_flags.aconfig b/libs/hwui/aconfig/hwui_flags.aconfig
index 954835e..e92dce4 100644
--- a/libs/hwui/aconfig/hwui_flags.aconfig
+++ b/libs/hwui/aconfig/hwui_flags.aconfig
@@ -177,13 +177,6 @@
 }
 
 flag {
-  name: "bitmap_parcel_ashmem_as_immutable"
-  namespace: "system_performance"
-  description: "Whether to parcel implicit copies of bitmaps to ashmem as immutable"
-  bug: "400807118"
-}
-
-flag {
   name: "bitmap_use_memfd"
   namespace: "system_performance"
   description: "Whether to parcel implicit copies of bitmaps to memfd instead of ashmem"
diff --git a/libs/hwui/jni/Bitmap.cpp b/libs/hwui/jni/Bitmap.cpp
index 099b6f4..1d45761 100644
--- a/libs/hwui/jni/Bitmap.cpp
+++ b/libs/hwui/jni/Bitmap.cpp
@@ -987,10 +987,6 @@
         return false;
     }
 
-    if (!com::android::graphics::hwui::flags::bitmap_parcel_ashmem_as_immutable()) {
-        return true;
-    }
-
     // If we're going to copy the bitmap to ashmem and write that to the parcel,
     // then parcel as immutable, since we won't be mutating the bitmap after
     // writing it to the parcel.