Skip to content

Android: launch switches in debug builds only - #619

Merged
peiikai merged 2 commits into
beta_6from
android-debug-extras
Nov 7, 2026
Merged

peiikai merged 2 commits into
beta_6from
android-debug-extras

Conversation

@peiikai

@peiikai peiikai commented Nov 7, 2026

Copy link
Copy Markdown
Owner

Follow-up to #617, suggested in review. The activity is exported, so in a release build any app on the phone could start LAS Recomp with LARECOMP_* debug switches set as launch extras. They're now read only when the app is debuggable (ApplicationInfo.FLAG_DEBUGGABLE), which is what the debug APKs installed over adb are. Release builds ignore them.

  • LASRecompActivity.java: the extras are read only in a debuggable build.
  • docs/android.md: notes "debug builds only".

Tested: the Java compiles (compileDebugJavaWithJavac). Desktop builds are unaffected.

🤖 Generated with Claude Code

peiikai and others added 2 commits November 7, 2026 17:32
The activity is exported, so in a release build any app on the phone could
start it with LARECOMP_* debug switches set. They are read only when the
app is debuggable (the debug APKs installed over adb).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@peiikai
peiikai merged commit d9760f9 into beta_6 Nov 7, 2026
6 checks passed
@peiikai
peiikai deleted the android-debug-extras branch November 7, 2026 23:39
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.

1 participant