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

Skip to content
Commit 14de11ee authored by Mark Hansen's avatar Mark Hansen
Browse files

Dispatch from DecorView to View.toString()

Today, the top-level DecorView is missing some useful pieces of data in its dump, for example the "V"isible and "E"nabled and "I"nvalidated and "D"irty flags. Add these back in.

Today it looks like:

```
    View Hierarchy:
      DecorView@41b7f45[MapsActivity]
        android.widget.LinearLayout{a1c3dbb V.E...... ......ID 208,0-1920,1080}
          android.view.ViewStub{c5878e4 G.E...... ......I. 0,0-0,0 #1020194 android:id/action_mode_bar_stub}
```

Note how the DecorView doesn't have the deep debug info the other views do.

This change updates toString to work the same as the other views, but including the extra title suffix information.

This is a new version of aosp/2276228, but on the main branch.

Change-Id: I35415f7625dc99a80412f6656800504eea876d91
parent cc7212dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment