mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-11-06 07:20:57 +00:00
Monitor /data/system/packages.xml
Reinstalling system apps as data creates tons of issues. Calling pm path <pkg> is extremely expensive and doesn't work in post-fs-data. Parse through packages.xml to get APK path and UID at the same time. As a bonus, we don't need to traverse /data/app for packages anymore.
This commit is contained in:
@@ -201,6 +201,8 @@ int exec_command_sync(Args &&...args) {
|
||||
return exec_command_sync(exec, args...);
|
||||
}
|
||||
|
||||
bool ends_with(const std::string_view &s1, const std::string_view &s2);
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user