Properly detect SysUI

This commit is contained in:
topjohnwu
2022-10-10 21:28:04 -07:00
parent 978216eade
commit c3b4678f6e
5 changed files with 14 additions and 4 deletions
+2
View File
@@ -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;