Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[Android] Prevent modeswitch when native_window is invalid #15878
If kodi is in paused state of a video which was started with display mode switch, screen changes (like automatic screen off / changes regarding HDMI port) can lead to segfaults.
Reason is that Android does not provide a native_window but kodi tries to perform a mode switch on it.
Example call stack:
Motivation and Context
Fix more segfaults
How Has This Been Tested?
Types of change