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

Commit 2792c7f6 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Do not check isPortait on null mediaSize"

parents aedf031b 2ec66573
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -213,9 +213,8 @@ public class DumpUtils {
        PrintAttributes.MediaSize mediaSize = attributes.getMediaSize();
        if (mediaSize != null) {
            writeMediaSize(context, proto, "media_size", PrintAttributesProto.MEDIA_SIZE, mediaSize);
        }

            proto.write("is_portrait", PrintAttributesProto.IS_PORTRAIT, attributes.isPortrait());
        }

        PrintAttributes.Resolution res = attributes.getResolution();
        if (res != null) {