Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30297303 authored by Sergei Vasilinetc's avatar Sergei Vasilinetc Committed by Android (Google) Code Review
Browse files

Merge "Add docs about Config.HARDWARE in Bitmap.writeToParcel method"

parents d5115103 f161dce7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1612,6 +1612,10 @@ public final class Bitmap implements Parcelable {
    /**
     * Write the bitmap and its pixels to the parcel. The bitmap can be
     * rebuilt from the parcel by calling CREATOR.createFromParcel().
     *
     * If this bitmap is {@link Config#HARDWARE}, it may be unparceled with a different pixel
     * format (e.g. 565, 8888), but the content will be preserved to the best quality permitted
     * by the final pixel format
     * @param p    Parcel object to write the bitmap data into
     */
    public void writeToParcel(Parcel p, int flags) {