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

Commit 87116bd0 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by android-build-merger
Browse files

Merge "Hopefully fix funky SELinux labels." into oc-dev

am: a4a729eb

Change-Id: I9d4f644acb310bcd45c0959e154799f474c1cb28
parents 9a969423 a4a729eb
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -395,7 +395,9 @@ binder::Status InstalldNativeService::createAppData(const std::unique_ptr<std::s
        }

        // Consider restorecon over contents if label changed
        if (restorecon_app_data_lazy(path, seInfo, uid, existing)) {
        if (restorecon_app_data_lazy(path, seInfo, uid, existing) ||
                restorecon_app_data_lazy(path, "cache", seInfo, uid, existing) ||
                restorecon_app_data_lazy(path, "code_cache", seInfo, uid, existing)) {
            return error("Failed to restorecon " + path);
        }