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

Commit debd80bf authored by Daeho Jeong's avatar Daeho Jeong Committed by Automerger Merge Worker
Browse files

Merge "Turn off smart idle maint service for ZUFS" into main am: cf74a2ce am: 0bc05f47

parents 6379b09f 0bc05f47
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2751,7 +2751,8 @@ class StorageManagerService extends IStorageManager.Stub
        boolean smartIdleMaintEnabled = DeviceConfig.getBoolean(
            DeviceConfig.NAMESPACE_STORAGE_NATIVE_BOOT,
            "smart_idle_maint_enabled",
            DEFAULT_SMART_IDLE_MAINT_ENABLED);
                DEFAULT_SMART_IDLE_MAINT_ENABLED)
                && !SystemProperties.getBoolean("ro.boot.zufs_provisioned", false);
        if (smartIdleMaintEnabled) {
            mLifetimePercentThreshold = DeviceConfig.getInt(
                DeviceConfig.NAMESPACE_STORAGE_NATIVE_BOOT,