Surface::setbuffersDimensions Log being spammed

These log come when we have EditText with cursor, And that cursor blink is responsible to redraw screen.

Surface::setBuffersDimensions(this=0x7f4ccc7c00,w=1080,h=1920)
D/OpenGLRenderer: WorkerThread 0x7f7c07f000 running

When I did

android:cursorVisible="false"

these logs were gone.

So when studio screen become spam with these logs, Its an alert for developer to check UI draw pattern.


This log means that something on your screen is being redrawn.
It is shown only on few devices, but whatever the device you are using, you can enable 'hardware layers updates' or 'gpu view updates' in developer options and you'll see flashed zone, which is being redrawn.
Moreover, if the issue exists on one device, it's likely that it exists on others too.