mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 14:37:38 +00:00
f4f2274c60
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.