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

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

Merge "Installd: Fix installd_dexopt_test"

am: c75833b1

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