Skip to content

Offer Report a problem once after the engine crashed - #184

Open
vadi2 wants to merge 1 commit into
mainfrom
ccr-14671218-tf96z6-report-crash-offer
Open

vadi2 wants to merge 1 commit into
mainfrom
ccr-14671218-tf96z6-report-crash-offer

Conversation

@vadi2

@vadi2 vadi2 commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Brief overview of PR changes/additions

  • When a new engine restores the games and the engine before it crashed (a Java or native crash, or an ANR, since the device last started, from ApplicationExitInfo on Android 11+), the UI shows a dialog once for that crash: "Mudlet crashed", with Report and Not now.
  • Report opens the existing Report a problem screen. The dialog itself sends nothing: on that screen the player sees the whole report and decides whether to send it.
  • Report, Not now or closing the dialog stores that crash's time as crashReportOffered in the ui preferences, so each crash is offered only once.
  • New EngineCrash.kt. EngineStopped now shares how it reads the app's recorded process exits.
  • Tests: EngineCrashTest (JVM), CrashOfferTest and CrashOfferPseudoLocaleTest (instrumented, with accessibility checks, in en-XA and ar-XB). FakeEngineRule sets the crash check to "no crash", so other tests never see the dialog.

Motivation for adding to Mudlet

  • A crash is when a report helps most, and few players find Report a problem under About on their own.
  • There is no crash upload and no third-party crash SDK: the dialog only opens the screen.

Other info (issues closed, discussion etc)

🤖 Generated with Claude Code

https://claude.ai/code/session_016ujaeFyaqXXDx8xjoThE6J

When a new engine restores the games and the engine before it crashed
(a Java or native crash, or an ANR, since the device last started, as
ApplicationExitInfo records it on Android 11 and later), the UI offers
once for that crash to open Report a problem. Nothing is sent: the
player sees the report there and chooses whether to send it. Report,
Not now or closing the dialog keeps the crash's time in the ui
preferences, so a crash is offered once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016ujaeFyaqXXDx8xjoThE6J

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants