commit | 7a8ae8a4b2fc0ab2a46a3aa81c28ff026a2a032b | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Wed Aug 02 16:26:50 2017 +0200 |
committer | Adrian Roos <roosa@google.com> | Wed Aug 02 16:26:52 2017 +0200 |
tree | d642fb926715d50a9184f274bdbb2973ad45df12 | |
parent | 273bb516ad875048bb14eb4f3f598c295c44991a [diff] |
SysUI: Move all sensor operations to the background thread Registering / unregistering listeners for sensors now frequently takes several hundred miliseconds. Work around this by moving all sensor operations off the main thread. Change-Id: Ic3537889e1d6e045149942bebb0211afe1192033 Fixes: 64103634 Test: Turn on phone from AOD2. Verify no jank.