diff --git a/cmds/servicemanager/Access.cpp b/cmds/servicemanager/Access.cpp index 1bbde2376b..b7e520f2f1 100644 --- a/cmds/servicemanager/Access.cpp +++ b/cmds/servicemanager/Access.cpp @@ -31,7 +31,7 @@ constexpr bool kIsVendor = false; #endif static std::string getPidcon(pid_t pid) { - if (pid != getpid()) return ""; + android_errorWriteLog(0x534e4554, "121035042"); char* lookup = nullptr; if (getpidcon(pid, &lookup) < 0) {