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

Commit e30c4590 authored by Carlos Galo's avatar Carlos Galo Committed by Kalesh Singh
Browse files

Remove batchingOomAdj Flag



Delete usage/reference of this batching flag. Mantain the behavior that
allows to enable/disable of OOM batching through `adb shell setprop`.

Test: m
Test: Verified lmkd receives batching OOM requests
Bug: 409605284
Change-Id: I2bfd2599a37964a69c60a7fd004852a4aaf9db44
Signed-off-by: default avatarCarlos Galo <carlosgalo@google.com>
Flag: EXEMPT removing batching_oom_adj
[ Fix trivial conflict in flags.aconfig - Kalesh Singh ]
Signed-off-by: default avatarKalesh Singh <kaleshsingh@google.com>
parent 00e56a25
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -259,7 +259,7 @@ final class ActivityManagerConstants extends ContentObserver {
    /**
     * The default value to {@link #KEY_ENABLE_BATCHING_OOM_ADJ}.
     */
    private static final boolean DEFAULT_ENABLE_BATCHING_OOM_ADJ = Flags.batchingOomAdj();
    private static final boolean DEFAULT_ENABLE_BATCHING_OOM_ADJ = true;

    /**
     * The default value to {@link #KEY_FOLLOW_UP_OOMADJ_UPDATE_WAIT_DURATION}.
+0 −8
Original line number Diff line number Diff line
@@ -95,14 +95,6 @@ flag {
    is_fixed_read_only: true
}

flag {
    name: "batching_oom_adj"
    namespace: "backstage_power"
    description: "Batch OOM adjustment calls to LMKD"
    bug: "244232958"
    is_fixed_read_only: true
}

flag {
    name: "collect_logcat_on_run_synchronously"
    namespace: "stability"