ee5863e4f577b13c536a0953fc5f362c40024016
We use: - PROCESS_STATE_IMPORTANT_FOREGROUND - ProcessList.PERCEPTIBLE_MEDIUM_APP_ADJ + 1 - Oom-adj will be PERCEPTIBLE_RECENT_FOREGROUND_APP_ADJ + 1 for the first N seconds when started from TOP. The "+1" is so we can tell apart short-FGS from regular FGS and EJ. Also, we slightly the oom-adj for EJ -- +2 to the original values -- so we can tell them apart from FGS / short-FGS. - Other restrictions of short-FGS aren't implemented yet. Test: atest FrameworksServicesTests:OomAdjusterTests MockingOomAdjusterTests Test: Manual test using the test app, monitoring `dumpsys activity processes| grep PACKAGE` ... First N seconds after started from TOP: ``` Proc # 1: fg +51 F/S/IMPF ---N t: 0 8851:com.google.omakoto.testapp/u0a252 (fg-service-short-act) ``` After that: ``` Proc # 1: prcm + 1 R/S/IMPF ---N t: 0 8851:com.google.omakoto.testapp/u0a252 (fg-service-short) ``` Bug: 257270313 Change-Id: I75e9295fd34871a70f6a5db23d701601c1b12622
Update boot image and system server profiles [M5C5P80S0], RESTRICT AUTOMERGE Since these are profiles for T release only. am:
9f9a36381c
Merge "Fix 'Generic.kl' file has no 'KEYCODE_FOCUS' mapping" am:
826b805842 am: 602bff590b am: 9fdb3eab70
…
[conflict] Merge "Fix errorprone warnings that should be errors" am:
677d6cd780 am: f9df26ae3c am: d3c499dabc
…
Merge "Show a toast message for apps not supporting multiple instances split" into tm-qpr-dev am:
26fb39d2ba am: 18e4f3a6ce
…
…
…
…
Merge "Letterbox Reacheability Multiplier Persistence" into tm-qpr-dev am:
a8117a579f am: 82a3d574a0
…
…
…
…
…
…
…
…
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%