You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
coolone
860acb4faf
[android] Fix crash on start any games for many handhelds (Ayaneo, Retroid etc) ( #3647 )
## Summary
This change hardens Android Picture-in-Picture handling to avoid runtime crashes on devices/ROMs where PiP APIs are unavailable or behave inconsistently.
## What changed
- Added a feature gate for PiP support using `FEATURE_PICTURE_IN_PICTURE`.
- Early-returned from PiP flows when unsupported.
- Wrapped PiP API calls (`enterPictureInPictureMode`, `setPictureInPictureParams`) in guarded handlers that catch `IllegalStateException` and `UnsupportedOperationException`.
- Logged one warning per failed PiP action to avoid log spam.
## Why
On some Android devices, calling PiP APIs can throw at runtime even when the app is otherwise functioning normally. This patch prevents those calls from crashing/interrupting emulation and keeps behavior unchanged on supported devices.
## Notes
- No behavior changes for fully PiP-capable devices.
- Safe no-op on unsupported devices.
Co-authored-by: Nikolai Trukhin <coolone.official@gmail.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3647
Reviewed-by: DraVee <chimera@dravee.dev>
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
2 months ago
..
AddingBooleanToggles.md
[debug] added functions to enable access to debug knobs from kotlin side + docs (#3265)
5 months ago
AddingDebugKnobs.md
[settings] changed debug knobs category to allow per-game usage (#3564)
4 months ago
AlterDateTime.md
[docs] testing guidelines, unify controller guide, gamemode (#3709)
4 months ago
Architectures.md
[compat] HaikuOS port (#2805)
8 months ago
Audio.md
[docs] initial user handbook draft (#2629)
9 months ago
Basics.md
[docs] testing guidelines, unify controller guide, gamemode (#3709)
4 months ago
CFW.md
[docs] Obtanium, installing mods, external ES-DE config, section about CFW and settings (#3678)
4 months ago
CommandLine.md
[frontend] allow to specify input profile name for first player on command line (#3684)
4 months ago
Controllers.md
[docs] testing guidelines, unify controller guide, gamemode (#3709)
4 months ago
Graphics.md
[docs] Obtanium, installing mods, external ES-DE config, section about CFW and settings (#3678)
4 months ago
GyroControls.md
[docs] troubleshoot section, release policies, gpu documentation (#3078)
7 months ago
HowToAccessLogs.md
[docs] Adding Initial Documentation (#3139)
7 months ago
ImportingSaves.md
[docs] troubleshoot section, release policies, gpu documentation (#3078)
7 months ago
InstallingAtmosphereMods.md
[docs] troubleshoot section, release policies, gpu documentation (#3078)
7 months ago
InstallingUpdatesDLC.md
[docs] troubleshoot section, release policies, gpu documentation (#3078)
7 months ago
Mods.md
[docs] Obtanium, installing mods, external ES-DE config, section about CFW and settings (#3678)
4 months ago
Multiplayer.md
[docs] update multiplayer section with metaserver info (#3722)
3 months ago
Native.md
[common] autogenerate unique console serial for every install (#3550)
4 months ago
Orphaned.md
[qt] clean up some orphaned_profiles bugs; add help (#2894)
8 months ago
QuickStart.md
[docs] troubleshoot section, release policies, gpu documentation (#3078)
7 months ago
README.md
[docs] testing guidelines, unify controller guide, gamemode (#3709)
4 months ago
RunOnMacOS.md
[docs] testing guidelines, unify controller guide, gamemode (#3709)
4 months ago
ServerHosting.md
[docs/user] add server hosting section (#3093)
7 months ago
Settings.md
[docs] testing guidelines, unify controller guide, gamemode (#3709)
4 months ago
SteamROM.md
[docs] Obtanium, installing mods, external ES-DE config, section about CFW and settings (#3678)
4 months ago
Storage.md
[core/filesystem] "easier" cheats folder structure like Ryujinx (#2795)
8 months ago
SyncthingGuide.md
[docs] troubleshoot section, release policies, gpu documentation (#3078)
7 months ago
Testing.md
[docs] testing guidelines, unify controller guide, gamemode (#3709)
4 months ago
ThirdParty.md
[docs] testing guidelines, unify controller guide, gamemode (#3709)
4 months ago
Troubleshoot.md
[docs] troubleshoot section, release policies, gpu documentation (#3078)
7 months ago
UsingAmiibo.md
[docs] troubleshoot section, release policies, gpu documentation (#3078)
7 months ago
UsingCheats.md
[docs] troubleshoot section, release policies, gpu documentation (#3078)
7 months ago
User Handbook
The "FAQ".
This handbook is primarily aimed at the end-user - baking useful knowledge for enhancing their emulation experience.
A copy of this handbook is available online .
Basics
3rd-party Integration
Advanced