Add missing WindowDecorationWrapper impls for default case
Even though #updateHoverAndPressStatus and #checkTouchEvent are essentially no-op even in DesktopModeWindowDecoration, the ViewModel still invokes the functions on the wrapper, so the DefaultWindowDecoration needs an implementation or it will result in an IllegalStateException. This changes just adds a no-op branch when default window decor is used given that the ENABLE_HANDLE_INPUT_FIX flag can be assumed to be always enabled. Flag: com.android.window.flags.enable_window_decoration_refactor Bug: 409648813 Test: touch app handle, no crash Change-Id: I7286643e1736db27945abc9b92007040dcf4d77f
Loading
Please register or sign in to comment