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

Commit b75436ae authored by Tim Murray's avatar Tim Murray
Browse files

CachedAppOptimizer: set FREEZER_BINDER_TIMEOUT_MS to 0

The timeout for freezing binder transactions is no longer necessary
since apps that repeatedly fail to freeze due to binder transactions
are killed.

Test: presubmit, boot, freezer works
Bug: 286750917
Change-Id: Ibd9dcad0e734f140f8d679aec59d4b63d44ccc41
parent 7b9199ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -238,7 +238,7 @@ public final class CachedAppOptimizer {
    private static final String ATRACE_COMPACTION_TRACK = "Compaction";
    private static final String ATRACE_FREEZER_TRACK = "Freezer";

    private static final int FREEZE_BINDER_TIMEOUT_MS = 100;
    private static final int FREEZE_BINDER_TIMEOUT_MS = 0;
    private static final int FREEZE_DEADLOCK_TIMEOUT_MS = 1000;

    @VisibleForTesting static final boolean ENABLE_FILE_COMPACT = false;