mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-04 19:10:47 -05:00
MainActivity is singleTask, so an intent sent while the app is running is delivered to onNewIntent(). The requested tab was only read from the launch intent, so e.g. the "App settings" button in the system settings brought the app to the front without opening the Settings tab. Also read the requested tab from new intents and switch to it. If another screen is open, it stays open and the tab is shown when going back, so no running flash or action screen is interrupted. Assisted-by: Claude Opus 5.5