mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-04 19:10:47 -05:00
Without the system's per-app language settings (before Android 13), changing the language in the app relaunched the foreground activity by starting it again and finishing it. MainActivity is singleTask, so the start was delivered to the same instance, which was then finished, and the app closed instead of showing the new language. Recreate the activity instead, and remove relaunch(), which has no other users. Assisted-by: Claude Opus 5.5