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

Commit 5866197a authored by Felix Stern's avatar Felix Stern
Browse files

Adding Requested Visible Types of WindowState to Winscope dump

Test: manual
Bug: 320460110
Change-Id: I026b4789c7a05b8e0e9b72e67e37d3fac231d0de
parent 8ce93390
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -464,6 +464,7 @@ message WindowStateProto {
    repeated .android.graphics.RectProto keep_clear_areas = 45;
    repeated .android.graphics.RectProto unrestricted_keep_clear_areas = 46;
    repeated .android.view.InsetsSourceProto mergedLocalInsetsSources = 47;
    optional int32 requested_visible_types = 48;
}

message IdentifierProto {
+2 −0
Original line number Diff line number Diff line
@@ -169,6 +169,7 @@ import static com.android.server.wm.WindowStateProto.PENDING_SEAMLESS_ROTATION;
import static com.android.server.wm.WindowStateProto.REMOVED;
import static com.android.server.wm.WindowStateProto.REMOVE_ON_EXIT;
import static com.android.server.wm.WindowStateProto.REQUESTED_HEIGHT;
import static com.android.server.wm.WindowStateProto.REQUESTED_VISIBLE_TYPES;
import static com.android.server.wm.WindowStateProto.REQUESTED_WIDTH;
import static com.android.server.wm.WindowStateProto.STACK_ID;
import static com.android.server.wm.WindowStateProto.SURFACE_INSETS;
@@ -3988,6 +3989,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
        proto.write(FORCE_SEAMLESS_ROTATION, mForceSeamlesslyRotate);
        proto.write(HAS_COMPAT_SCALE, hasCompatScale());
        proto.write(GLOBAL_SCALE, mGlobalScale);
        proto.write(REQUESTED_VISIBLE_TYPES, mRequestedVisibleTypes);
        for (Rect r : mKeepClearAreas) {
            r.dumpDebug(proto, KEEP_CLEAR_AREAS);
        }