summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Wenhui Yang <wenhuiy@google.com> 2024-11-08 21:21:02 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-11-08 21:21:02 +0000
commit9e493bedb220ce08b0fd2b02d77359e261f9e39e (patch)
tree68637e9c1e4756ea043d7f047ffaf928879afff2
parente778d91b9a41d169433e28bcedc091c15656c628 (diff)
parentbd4bf35efb28fb7ed7ea220303b3e9f42642ad27 (diff)
Merge "Fix incorrect transaction id of Transaction#apply call stack debugging" into main
-rw-r--r--core/java/android/view/SurfaceControl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/SurfaceControl.java b/core/java/android/view/SurfaceControl.java
index 505a82a1518f..884a66c477b4 100644
--- a/core/java/android/view/SurfaceControl.java
+++ b/core/java/android/view/SurfaceControl.java
@@ -2917,12 +2917,12 @@ public final class SurfaceControl implements Parcelable {
private void apply(boolean sync, boolean oneWay) {
applyResizedSurfaces();
notifyReparentedSurfaces();
- nativeApplyTransaction(mNativeObject, sync, oneWay);
if (SurfaceControlRegistry.sCallStackDebuggingEnabled) {
SurfaceControlRegistry.getProcessInstance().checkCallStackDebugging(
"apply", this, null, null);
}
+ nativeApplyTransaction(mNativeObject, sync, oneWay);
}
/**