[RNG] Bitmap::allocateHardwareBitmap() must copy source content.
Merge android12-hostruntime-dev 25874ec in master-layoutlib-native. The RNG version of Bitmap::allocateHardwareBitmap() is implemented on top of Bitmap::allocateHeapBitmap(). However, per the class comment description, this factory method should also copy the content of the source bitmap into the newly allocated bitmap. That is needed to make "hardware" bitmaps work with RNG. Flag: EXEMPT HOST_ONLY Bug: 310222823,242670053 Test: m -j libandroid_runtime dist Change-Id: Iddb33172ce95f93f76ebe4733cbbd88a04efefe2
Loading
Please register or sign in to comment