mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 05:07:45 +02:00
Auto reinstall system apps on hide list
Since we are parsing through /data/app/ to find target APKs for monitoring, system apps will not be covered in this case. Automatically reinstall system apps as if they received an update and refresh the monitor target after it's done. As a bonus, use RAII idioms for locking pthread_mutex_t.
This commit is contained in:
@ -72,6 +72,7 @@ void exec_common_script(const char *stage);
|
||||
void exec_module_script(const char *stage, const std::vector<std::string> &module_list);
|
||||
void migrate_img(const char *img);
|
||||
void install_apk(const char *apk);
|
||||
int reinstall_apk(const char *pkg);
|
||||
|
||||
/**************
|
||||
* MagiskHide *
|
||||
|
Reference in New Issue
Block a user