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

Commit 5e31e7a0 authored by Yi Jiang's avatar Yi Jiang
Browse files

Log snapshot's secure status in SurfaceFlinger dumpsys.

Change-Id: Iab5a7ea94b7c2de503c5ec3fa63cd64cde071397
Test: locally verified the logs
Flag: EXEMPT log only update
Bug: 372558540
parent efccd08d
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -305,7 +305,11 @@ std::ostream& operator<<(std::ostream& out, const LayerSnapshot& obj) {
            out << rootId << ",";
        }
    }
    out << "] " << obj.name << "\n    " << (obj.isVisible ? "visible" : "invisible")
    out << "] ";
    if (obj.isSecure) {
        out << "(Secure) ";
    }
    out << obj.name << "\n    " << (obj.isVisible ? "visible" : "invisible")
        << " reason=" << obj.getIsVisibleReason();

    if (!obj.geomLayerBounds.isEmpty()) {