diff options
author | Edgar Arriaga <edgararriaga@google.com> | 2022-02-09 12:41:20 -0800 |
---|---|---|
committer | Divyanand Rangu <quic_drangu@quicinc.com> | 2022-03-28 06:47:35 +0000 |
commit | a01784beef3ebb745601226030c04b63df613cdd (patch) | |
tree | 733c4a62d275bf01d118dd13d7461ab9c4ca2d6e /packages/SystemUI/src/com/android/keyguard/KeyguardPatternViewController.java | |
parent | 61b5de7655e3b2513d5bdf2102b0229d326b2267 (diff) |
Improve compaction to abort when system changes to awake state
While the screen is off we sometimes issue compactions as they are not
disruptive to the user. However, it is possible to wake up and have
compactions running or scheduled so this may lead to jank. This patch
cancels any pending or running compactions that were scheduled to happen
during this non interactive type when the system becomes awake to avoid
jank.
Test: Manual
Bug: 214654755
CRs-Fixed:3121545
Change-Id: Ie9b2cbaa7093d63e77f8666d1e6f050ab5610a1d
(cherry picked from commit 00fe2b907bf684b0030d1e95b52c84c88d27b48f)
Change-Id: I8dceb1e75562b3e5b33b1aeec3357eaaabfdde4f
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardPatternViewController.java')
0 files changed, 0 insertions, 0 deletions