mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-20 07:18:28 +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.