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

Commit 018138fd authored by Bernie Innocenti's avatar Bernie Innocenti
Browse files

Convert frameworks/native to Result::ok()

No functionality changes, this is a mechanical cleanup.

Test: m
Change-Id: I0451ec8cb174449a79d91e99d3b9e5c9edb034eb
parent c02c9230
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ static void DeactivateApexPackages(const std::vector<apex::ApexFile>& active_pac
    for (const apex::ApexFile& apex_file : active_packages) {
        const std::string& package_path = apex_file.GetPath();
        base::Result<void> status = apex::deactivatePackage(package_path);
        if (!status) {
        if (!status.ok()) {
            LOG(ERROR) << "Failed to deactivate " << package_path << ": "
                       << status.error();
        }