mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-03-21 02:00:51 +00:00

Configuration changes in FlashFragment may cause the installation process to be triggered twice. The simplest way to reproduce this behavior is to choose a module ZIP file in landscape mode (which is the default on some tablets). This commit fixes the problem by ensuring `savedInstanceState == null` before starting installation.