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

Commit fb5d542f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Increase FileLog days" into ub-launcher3-master

parents 1562d104 46b4f581
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@ import android.util.Pair;

import androidx.annotation.VisibleForTesting;

import com.android.launcher3.config.FeatureFlags;
import com.android.launcher3.util.IOUtils;

import java.io.BufferedReader;
@@ -42,7 +43,7 @@ public final class FileLog {
    private static Handler sHandler = null;
    private static File sLogsDirectory = null;

    public static final int LOG_DAYS = 4;
    public static final int LOG_DAYS = FeatureFlags.ENABLE_HYBRID_HOTSEAT.get() ? 10 : 4;

    public static void setDir(File logsDir) {
        if (ENABLED) {