You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Use app_dir to detect systemui instead
uid may be shared by other apps (e.g., in MIUI, systemui's uid is 1000 and shared by many system apps).
This commit is contained in:
@@ -306,8 +306,6 @@ static void get_process_info(int client, const sock_cred *cred) {
|
||||
int manager_app_id = get_manager();
|
||||
if (to_app_id(uid) == manager_app_id) {
|
||||
flags |= PROCESS_IS_MAGISK_APP;
|
||||
} else if (to_app_id(uid) == sys_ui_app_id) {
|
||||
flags |= PROCESS_IS_SYS_UI;
|
||||
}
|
||||
if (denylist_enforced) {
|
||||
flags |= DENYLIST_ENFORCING;
|
||||
|
||||
Reference in New Issue
Block a user