(Android) Fixed an issue where switching from ES-DE to another app and back again while the 'no ROMs' dialog was shown crashed the application

This commit is contained in:
Leon Styhre 2024-09-18 17:15:55 +02:00
parent c2ae6468fe
commit c33ee569f4

View file

@ -86,7 +86,11 @@ public:
void pauseViewVideos() override { mCurrentView->pauseViewVideos(); } void pauseViewVideos() override { mCurrentView->pauseViewVideos(); }
void muteViewVideos() override { mCurrentView->muteViewVideos(); } void muteViewVideos() override { mCurrentView->muteViewVideos(); }
// Needed on Android to reset the static image delay timer on activity resume. // Needed on Android to reset the static image delay timer on activity resume.
void resetViewVideosTimer() override { mCurrentView->resetViewVideosTimer(); } void resetViewVideosTimer() override
{
if (mCurrentView != nullptr)
mCurrentView->resetViewVideosTimer();
}
void onFileChanged(FileData* file, bool reloadGamelist); void onFileChanged(FileData* file, bool reloadGamelist);
void triggerGameLaunch(FileData* game) void triggerGameLaunch(FileData* game)