Shorten mTag in VRI

The current mTag is ViewRootImpl[name] which can be very long. Shorten
ViewRootImpl to VRI since this is a common acronym.

Test: Log tag and BBQ name is updated
Bug: 217621394
Change-Id: Ibcd0ac72733a74dade64491d853a7c98700eb60d
This commit is contained in:
chaviw
2022-02-03 18:16:30 -06:00
parent 083297ec6b
commit abc9e9740b

View File

@@ -1335,7 +1335,7 @@ public final class ViewRootImpl implements ViewParent,
private void setTag() {
final String[] split = mWindowAttributes.getTitle().toString().split("\\.");
if (split.length > 0) {
mTag = TAG + "[" + split[split.length - 1] + "]";
mTag = "VRI[" + split[split.length - 1] + "]";
}
}