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

Commit 7711b794 authored by Automerger Merge Worker's avatar Automerger Merge Worker Committed by Android (Google) Code Review
Browse files

Merge "Merge "Fix lines >100 chars and unnecessary fully-qualified class...

Merge "Merge "Fix lines >100 chars and unnecessary fully-qualified class names" into tm-qpr-dev am: 6bb157dd" into tm-qpr-dev-plus-aosp
parents 0e38b56b 6c0ded41
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -219,8 +219,9 @@ public class ScreenshotHelper {
                throw new IllegalArgumentException("Bundle does not contain a hardware bitmap");
            }

            HardwareBuffer buffer = bundle.getParcelable(KEY_BUFFER);
            ParcelableColorSpace colorSpace = bundle.getParcelable(KEY_COLOR_SPACE);
            HardwareBuffer buffer = bundle.getParcelable(KEY_BUFFER, HardwareBuffer.class);
            ParcelableColorSpace colorSpace = bundle.getParcelable(KEY_COLOR_SPACE,
                    ParcelableColorSpace.class);

            return Bitmap.wrapHardwareBuffer(Objects.requireNonNull(buffer),
                    colorSpace.getColorSpace());