Show surfaceId when logging IntBufferBatchMountItem

Summary:
Adds surface id for string logs of the IntBufferBatchMountItem to help debug updates with multiple surfaces.

Changelog: [Internal]

Reviewed By: JoshuaGross

Differential Revision: D27884232

fbshipit-source-id: c5ec65585830f7aa5b902603bcd1e91b61cfe4c1
This commit is contained in:
Andrei Shikov 2021-04-21 10:25:58 -07:00 коммит произвёл Facebook GitHub Bot
Родитель 091197be5e
Коммит 6fda118116
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -193,7 +193,7 @@ public class IntBufferBatchMountItem implements MountItem {
public String toString() {
try {
StringBuilder s = new StringBuilder();
s.append("IntBufferBatchMountItem:");
s.append(String.format("IntBufferBatchMountItem [surface:%d]:\n", mSurfaceId));
int i = 0, j = 0;
while (i < mIntBufferLen) {
int rawType = mIntBuffer[i++];