mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
Merge "Increase FileLog days" into ub-launcher3-master
This commit is contained in:
committed by
Android (Google) Code Review
commit
fb5d542f51
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user