Merge "Add check if bitmap is hardware in Bitmap.sameAs"