Merge "servicemanager: hard failure for missing context" am: fcb357810a

Change-Id: Ic66188cde527095b1de4444ec3e872c8a49b48d8
This commit is contained in:
Steven Moreland 2020-05-20 22:46:22 +00:00 committed by Automerger Merge Worker
commit 6053d8370a

View file

@ -31,7 +31,7 @@ constexpr bool kIsVendor = false;
#endif
static std::string getPidcon(pid_t pid) {
android_errorWriteLog(0x534e4554, "121035042");
if (pid != getpid()) return "";
char* lookup = nullptr;
if (getpidcon(pid, &lookup) < 0) {