commit | 7653a60c74e9babfda1c3754eb4f3060b6e40990 | [log] [tgz] |
---|---|---|
author | Jon Miranda <jonmiranda@google.com> | Fri Jul 28 10:09:34 2017 -0700 |
committer | Jon Miranda <jonmiranda@google.com> | Sun Jul 30 11:04:58 2017 -0700 |
tree | 101ad012e2ed8d6aee97ce962c9d1fe6a1467b57 | |
parent | 1201982233a2d226f08eef929a39150954a21b88 [diff] |
Optimize updating All Apps Predictions. * Prefetch existing predictions in onResume. * Only update predictions if something has been changed. * Swap predictions in place (if possible) -- this avoids having to relayout all of All Apps when just the predictions change. Bug: 64126588 Bug: 63711551 Change-Id: Iffa0d9d7d6f99f606dd68b7df5893d6eba1574f5