mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-26 21:07:39 +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.