I am recompiling a single Activity, single screen calculator I wrote a few years ago following some minor modifications. The platform is a Samsung S21 Ultra running Android 13. TargetSdkVersion="31". The FocusChanged event for the edit text never fires.... not in Debug nor Release modes ...
I "set" immersive mode for the Main; from here I start another Activity and Activity_WindowFocusChanged causes a crash if I start the app in debug mode (see the test project attached).
Tested only on an Android 4.4.2.