forked from joejulian/gio
47ab4c97b2
Config.Focused represents window interaction focus, which should only change when the window gains or loses user interaction capability. The focus state is already correctly handled in: - onResume → focused = true (window gains interaction focus) - onPause → focused = false (window loses interaction focus) Therefore, sending additional ConfigEvent in onStop and onSurfaceDestroyed is redundant because: - onStop is always preceded by onPause - onSurfaceDestroyed is a low-level surface event unrelated to focus This cleanup aligns the Android implementation with the correct semantic that Config.Focused = window interaction focus, not view focus or surface state. Signed-off-by: CoyAce <akeycoy@gmail.com>