commit | de396fa85d4041fdd14bf4e0847406017d1f89db | [log] [tgz] |
---|---|---|
author | Ahan Wu <ahanwu@google.com> | Tue May 08 20:42:24 2018 +0800 |
committer | Ahan Wu <ahanwu@google.com> | Tue Dec 04 11:29:31 2018 +0800 |
tree | 5d23b21f78b9f3ff1d62adba9f8cee156076615b | |
parent | 09c07c3533b11028b4e7da615156026fa8599b85 [diff] |
Apply cache and preload mechanism to inline image notifications. Inline image will consume 3x memory due to no cache implementation. This patch apply cache mechanism to each ExpandableNotificationRow and preloads images before inflation task. Bug: 77956056 Test: runtest systemui, observe memory usage by AndroidProfiler Change-Id: I2c488b1d98ddf2d4670904ed4b3e8028c0d0172e