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

Commit d90862d9 authored by Andreas Gampe's avatar Andreas Gampe Committed by android-build-merger
Browse files

Merge "Installd: Fix installd_dexopt_test" am: c75833b1

am: 203201be

Change-Id: If08ece327e3b4720915f7acbc3ca0831399fc590
parents 7d1506ea 203201be
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -936,8 +936,7 @@ class ProfileTest : public DexoptTest {
  protected:
  protected:
    void TransitionToSystemServer() {
    void TransitionToSystemServer() {
        ASSERT_TRUE(DropCapabilities(kSystemUid, kSystemGid));
        ASSERT_TRUE(DropCapabilities(kSystemUid, kSystemGid));
        int32_t res = selinux_android_setcontext(
        int32_t res = selinux_android_setcon("u:r:system_server:s0");
                kSystemUid, true, se_info_.c_str(), "system_server");
        ASSERT_EQ(0, res) << "Failed to setcon " << strerror(errno);
        ASSERT_EQ(0, res) << "Failed to setcon " << strerror(errno);
    }
    }