commit | ab781c254fa0441241e6851554cad16d3ab9e2a5 | [log] [tgz] |
---|---|---|
author | Fyodor Kupolov <fkupolov@google.com> | Tue Dec 19 16:44:26 2017 -0800 |
committer | Fyodor Kupolov <fkupolov@google.com> | Tue Dec 19 16:44:26 2017 -0800 |
tree | 87e83cd1afbd0f9bc2aef7cc26bf951de25a094b | |
parent | f7ca81fbc99888076d56666475a33b7b1a40fbd7 [diff] |
Offload switchUser calls to worker threads Some switchUser callbacks can block ActivityManager thread for 100+ ms. The work can be done on a worker thread instead. Test: Manual create/switch to user Bug: 37579992 Change-Id: I45034fa8c8bdf457bcc3737c8064057fbfaf32f5