mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 13:47:38 +00:00
Fix #6314
This commit is contained in:
parent
e327565434
commit
a468fd946d
@ -165,7 +165,7 @@ DCL_HOOK_FUNC(int, unshare, int flags) {
|
||||
// For some unknown reason, unmounting app_process in SysUI can break.
|
||||
// This is reproducible on the official AVD running API 26 and 27.
|
||||
// Simply avoid doing any unmounts for SysUI to avoid potential issues.
|
||||
(g_ctx->info_flags & PROCESS_IS_SYS_UI)) {
|
||||
(g_ctx->info_flags & PROCESS_IS_SYS_UI) == 0) {
|
||||
if (g_ctx->flags[DO_REVERT_UNMOUNT]) {
|
||||
revert_unmount();
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user