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

Commit 3085d957 authored by Tom Cherry's avatar Tom Cherry
Browse files

libmodprobe: remove SetMinimumLogSeverity() from constructor

Only the parent executable, not libraries should set this value.

Note that `modprobe` in toolbox and first stage init, the two primary
users of this library already set this same minimum log severity.

Test: build
Change-Id: I888968deede3323cc270efc3cfd1b40fc521d2da
parent 001a5df8
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -336,7 +336,6 @@ Modprobe::Modprobe(const std::vector<std::string>& base_paths, const std::string
    }

    ParseKernelCmdlineOptions();
    android::base::SetMinimumLogSeverity(android::base::INFO);
}

void Modprobe::EnableBlocklist(bool enable) {