Add more log when receiving semantics node not part of update (flutter/engine#39777)

This commit is contained in:
chunhtai
2023-02-22 10:38:42 -08:00
committed by GitHub
parent 827671aaef
commit ef7d53ae51

View File

@@ -2731,7 +2731,8 @@ public class AccessibilityBridge extends AccessibilityNodeProvider {
}
if (transform == null) {
if (BuildConfig.DEBUG) {
throw new AssertionError("transform has not been initialized");
Log.e(TAG, "transform has not been initialized for id = " + id);
accessibilityBridge.getRootSemanticsNode().log("Semantics tree:", true);
}
transform = new float[16];
}