Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7058a9f authored by Yifan Hong's avatar Yifan Hong Committed by Automerger Merge Worker
Browse files

Merge "Revert "servicemanager: hard failure for missing context"" am:...

Merge "Revert "servicemanager: hard failure for missing context"" am: 060a7367 am: 0d2c95a7 am: 7d95d133

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1322621

Change-Id: I15cde0757b2d33e37cce752c1d368acb135b846d
parents 15356b4a 7d95d133
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -31,7 +31,7 @@ constexpr bool kIsVendor = false;
#endif
#endif


static std::string getPidcon(pid_t pid) {
static std::string getPidcon(pid_t pid) {
    if (pid != getpid()) return "";
    android_errorWriteLog(0x534e4554, "121035042");


    char* lookup = nullptr;
    char* lookup = nullptr;
    if (getpidcon(pid, &lookup) < 0) {
    if (getpidcon(pid, &lookup) < 0) {