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

Commit 4689cdc2 authored by Jeff Vander Stoep's avatar Jeff Vander Stoep
Browse files

Revert "Installd: restorecon mislabeled gsf"

This reverts commit 9c4f39e9.

Fixes: 190711180
Test: build and boot
Change-Id: I779b1500f7d53bd02e3c7d8adbc0f6364270c9be
parent 6ddea999
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -342,8 +342,7 @@ static int restorecon_app_data_lazy(const std::string& path, const std::string&

    // If the initial top-level restorecon above changed the label, then go
    // back and restorecon everything recursively
    // TODO(b/190567190, b/188141923) Remove recursive fixup of com.google.android.gsf.
    if (strcmp(before, after) || (path.find("com.google.android.gsf") != std::string::npos)) {
    if (strcmp(before, after)) {
        if (existing) {
            LOG(DEBUG) << "Detected label change from " << before << " to " << after << " at "
                    << path << "; running recursive restorecon";