Disable memory trimming on AoD and on unlock
This disables font cache trimming on transition to AoD and when
unlocking the device - it's suspected to cause a large amount of jank.
The memory increases from fonts have been mitigated with other CLs, particularly I3f342fd7d427b8b6cfcd2e83480fbbb36d6782ea and I99dd4108eef34156c4f8f79bbb042703325ed82d . This CL doesn't seem to contribute much and is a strong suspect for adding a lot of jank.
Bug: 275486055
Bug: 286779126
Bug: 290277152
Test: ran perf test http://ab/I09600010175683794
Change-Id: Iaf1735e605ee54845cd3943f8cac6a62c37a5877
(cherry picked from commit 064a05f3b1)
This commit is contained in:
committed by
Lucas Dupin
parent
4981f6c991
commit
a33246b5c7
@@ -683,11 +683,11 @@ object Flags {
|
||||
// TODO(b/283071711): Tracking bug
|
||||
@JvmField
|
||||
val TRIM_RESOURCES_WITH_BACKGROUND_TRIM_AT_LOCK =
|
||||
releasedFlag(2401, "trim_resources_with_background_trim_on_lock")
|
||||
unreleasedFlag(2401, "trim_resources_with_background_trim_on_lock")
|
||||
|
||||
// TODO:(b/283203305): Tracking bug
|
||||
@JvmField
|
||||
val TRIM_FONT_CACHES_AT_UNLOCK = releasedFlag(2402, "trim_font_caches_on_unlock")
|
||||
val TRIM_FONT_CACHES_AT_UNLOCK = unreleasedFlag(2402, "trim_font_caches_on_unlock")
|
||||
|
||||
// 2700 - unfold transitions
|
||||
// TODO(b/265764985): Tracking Bug
|
||||
|
||||
Reference in New Issue
Block a user