Revert "servicemanager: hard failure for missing context"

This reverts commit b5a0f22ce1.

Reason for revert: break mixed builds

Fixes: 157555971
Bug: 152636392
Change-Id: I3972e36622da3da261263bc4cc8b1e248a99152b
This commit is contained in:
Yifan Hong 2020-06-03 16:53:07 +00:00
parent b5a0f22ce1
commit ba7fcc3bad

View file

@ -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) {