Files
Magisk/app
topjohnwu 9f512a6a05 app: recreate activity on locale change
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
2026-10-24 13:01:45 -07:00
..
2025-06-16 02:17:29 -07:00
2025-06-16 02:17:29 -07:00