Merge "Call Layer::getLayerDebugInfo from the main thread" into qt-dev am: f3f2130ec1

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/11973468

Change-Id: I17c0038e40757656834779531635d315104cabc5