Loading core/java/android/view/DisplayInfo.java +2 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package android.view; import static android.view.DisplayInfoProto.APP_HEIGHT; import static android.view.DisplayInfoProto.APP_WIDTH; import static android.view.DisplayInfoProto.FLAGS; import static android.view.DisplayInfoProto.LOGICAL_HEIGHT; import static android.view.DisplayInfoProto.LOGICAL_WIDTH; import static android.view.DisplayInfoProto.NAME; Loading Loading @@ -708,6 +709,7 @@ public final class DisplayInfo implements Parcelable { protoOutputStream.write(APP_WIDTH, appWidth); protoOutputStream.write(APP_HEIGHT, appHeight); protoOutputStream.write(NAME, name); protoOutputStream.write(FLAGS, flags); protoOutputStream.end(token); } Loading core/proto/android/view/displayinfo.proto +1 −0 Original line number Diff line number Diff line Loading @@ -33,4 +33,5 @@ message DisplayInfoProto { // The human-readable name of the display. // Eg: "Built-in Screen" optional string name = 5; optional int32 flags = 6; } Loading
core/java/android/view/DisplayInfo.java +2 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package android.view; import static android.view.DisplayInfoProto.APP_HEIGHT; import static android.view.DisplayInfoProto.APP_WIDTH; import static android.view.DisplayInfoProto.FLAGS; import static android.view.DisplayInfoProto.LOGICAL_HEIGHT; import static android.view.DisplayInfoProto.LOGICAL_WIDTH; import static android.view.DisplayInfoProto.NAME; Loading Loading @@ -708,6 +709,7 @@ public final class DisplayInfo implements Parcelable { protoOutputStream.write(APP_WIDTH, appWidth); protoOutputStream.write(APP_HEIGHT, appHeight); protoOutputStream.write(NAME, name); protoOutputStream.write(FLAGS, flags); protoOutputStream.end(token); } Loading
core/proto/android/view/displayinfo.proto +1 −0 Original line number Diff line number Diff line Loading @@ -33,4 +33,5 @@ message DisplayInfoProto { // The human-readable name of the display. // Eg: "Built-in Screen" optional string name = 5; optional int32 flags = 6; }