commit | 9272d45da90cc1206ea81d7100724142dca35222 | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Thu Sep 14 14:15:42 2017 -0700 |
committer | Lucas Dupin <dupin@google.com> | Thu Sep 14 14:26:19 2017 -0700 |
tree | 3c5547c634aac5311d5d7ddbd819dafa8d0bba73 | |
parent | 8274aa9f25662a24f39fe50f0512122aa89acfcb [diff] |
Color extraction should not block switchUser switchUser is called from the main thread. This would block it until color extraction ends, possibly causing a timeout in ActivityManager. We're now offloading color extraction to another thread. Test: Change wallpapers, switch users. Change-Id: I570c3ce5a562b56106d614c8febc12134e151afc Fixes: 65146279