mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 11:30:47 -05:00
Properly detect SysUI
This commit is contained in:
@@ -304,6 +304,8 @@ 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