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

Commit b3ea2139 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Don't restart non-system DataLoaders on reboot." into rvc-dev am: afdf9402 am: fce07867

Change-Id: I06cfb95e5031777ffeabcc7350a99d64f6755018
parents 283494c7 fce07867
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -63,6 +63,7 @@ struct Constants {
    static constexpr auto libDir = "lib"sv;
    static constexpr auto libSuffix = ".so"sv;
    static constexpr auto blockSize = 4096;
    static constexpr auto systemPackage = "android"sv;
};

static const Constants& constants() {
@@ -377,7 +378,8 @@ void IncrementalService::onSystemReady() {
        std::lock_guard l(mLock);
        mounts.reserve(mMounts.size());
        for (auto&& [id, ifs] : mMounts) {
            if (ifs->mountId == id) {
            if (ifs->mountId == id &&
                ifs->dataLoaderStub->params().packageName == Constants::systemPackage) {
                mounts.push_back(ifs);
            }
        }