summaryrefslogtreecommitdiff
path: root/core/java/android/view/InsetsAnimationThreadControlRunner.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/view/InsetsAnimationThreadControlRunner.java')
-rw-r--r--core/java/android/view/InsetsAnimationThreadControlRunner.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/view/InsetsAnimationThreadControlRunner.java b/core/java/android/view/InsetsAnimationThreadControlRunner.java
index 9c27802293b8..13b4cd83b4df 100644
--- a/core/java/android/view/InsetsAnimationThreadControlRunner.java
+++ b/core/java/android/view/InsetsAnimationThreadControlRunner.java
@@ -75,6 +75,12 @@ public class InsetsAnimationThreadControlRunner implements InsetsAnimationContro
t.apply();
t.close();
}
+
+ @Override
+ public void releaseSurfaceControlFromRt(SurfaceControl sc) {
+ // Since we don't push the SurfaceParams to the RT we can release directly
+ sc.release();
+ }
};
@UiThread