Loading libs/WindowManager/Shell/src/com/android/wm/shell/compatui/letterbox/LetterboxInputDetector.kt +7 −3 Original line number Diff line number Diff line Loading @@ -185,13 +185,17 @@ class LetterboxInputDetector( } fun stop(tx: Transaction) { handler.post(::resetInputState) inputSurface?.let { s -> tx.remove(s) } } private fun resetInputState() { receiver?.dispose() receiver = null inputChannel.dispose() windowSession.removeToken(inputToken) inputSurface?.let { s -> tx.remove(s) } } // Removes the provided token Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/compatui/letterbox/LetterboxInputDetector.kt +7 −3 Original line number Diff line number Diff line Loading @@ -185,13 +185,17 @@ class LetterboxInputDetector( } fun stop(tx: Transaction) { handler.post(::resetInputState) inputSurface?.let { s -> tx.remove(s) } } private fun resetInputState() { receiver?.dispose() receiver = null inputChannel.dispose() windowSession.removeToken(inputToken) inputSurface?.let { s -> tx.remove(s) } } // Removes the provided token Loading