Files
gio-patched/app
CoyAce 47ab4c97b2 app: [android] remove redundant ConfigEvent in onStop and onSurfaceDestroyed
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>
2026-03-10 13:01:39 +01:00
..
2026-02-18 08:36:57 +01:00
2025-12-15 22:20:54 +01:00
2026-02-18 08:36:57 +01:00
2026-02-18 08:36:57 +01:00
2024-06-27 17:48:08 +02:00
2026-02-18 08:36:57 +01:00
2026-02-18 08:36:57 +01:00
2026-02-18 08:36:57 +01:00
2026-03-09 09:07:09 +01:00
2025-12-15 22:20:54 +01:00
2026-02-18 08:36:57 +01:00
2025-12-15 22:20:54 +01:00
2026-02-18 08:36:57 +01:00
2026-02-18 08:36:57 +01:00