Loading libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/WindowDecoration2.kt +16 −12 Original line number Diff line number Diff line Loading @@ -509,7 +509,11 @@ abstract class WindowDecoration2<T>( } /** Releases all window decoration views. */ private fun releaseViews(wct: WindowContainerTransaction) { private fun releaseViews(wct: WindowContainerTransaction) = traceSection( traceTag = Trace.TRACE_TAG_WINDOW_MANAGER, name = "WindowDecoration2#releaseViews", ) { val t = surfaceControlTransactionSupplier() var released = false Loading libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/caption/CaptionController.kt +13 −9 Original line number Diff line number Diff line Loading @@ -497,7 +497,11 @@ abstract class CaptionController<T>( } /** Releases all caption views. Returns true if caption view host is released. */ open fun releaseViews(wct: WindowContainerTransaction, t: SurfaceControl.Transaction): Boolean { open fun releaseViews(wct: WindowContainerTransaction, t: SurfaceControl.Transaction): Boolean = traceSection( traceTag = Trace.TRACE_TAG_WINDOW_MANAGER, name = "CaptionController#releaseViews", ) { captionInsets?.remove(wct) captionInsets = null Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/WindowDecoration2.kt +16 −12 Original line number Diff line number Diff line Loading @@ -509,7 +509,11 @@ abstract class WindowDecoration2<T>( } /** Releases all window decoration views. */ private fun releaseViews(wct: WindowContainerTransaction) { private fun releaseViews(wct: WindowContainerTransaction) = traceSection( traceTag = Trace.TRACE_TAG_WINDOW_MANAGER, name = "WindowDecoration2#releaseViews", ) { val t = surfaceControlTransactionSupplier() var released = false Loading
libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/caption/CaptionController.kt +13 −9 Original line number Diff line number Diff line Loading @@ -497,7 +497,11 @@ abstract class CaptionController<T>( } /** Releases all caption views. Returns true if caption view host is released. */ open fun releaseViews(wct: WindowContainerTransaction, t: SurfaceControl.Transaction): Boolean { open fun releaseViews(wct: WindowContainerTransaction, t: SurfaceControl.Transaction): Boolean = traceSection( traceTag = Trace.TRACE_TAG_WINDOW_MANAGER, name = "CaptionController#releaseViews", ) { captionInsets?.remove(wct) captionInsets = null Loading