Loading cmds/installd/InstalldNativeService.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -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"; Loading Loading
cmds/installd/InstalldNativeService.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -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"; Loading