Surface::setbuffersDimensions Log being spammed

前端 未结 3 536
轮回少年
轮回少年 2021-01-17 09:09

I have built an Android app that is working fine and as expected with a tablet: Acer. 7-inch API 21.

I recently got a new tablet: Acer. 10-inch API 22.

Now

3条回答
  •  无人共我
    2021-01-17 09:36

    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.

提交回复
热议问题