commit | 80d87ee386be7065817d4d40f2151dec9e0c557c | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Jun 13 18:04:25 2017 -0700 |
committer | Yifan Hong <elsk@google.com> | Tue Jun 13 18:56:07 2017 -0700 |
tree | 2d63602319b8b6e9c87494a1cdf3bfc15c529975 | |
parent | 09034f076e7897732479c8aef6284938aafbfbfe [diff] |
Fix race condition for SensorManager looper. Before the fix there could be two background threads started for two loopers. Add a guard to prevent this from happening. Test: pass Bug: 62404135 Change-Id: I8230addaaa6b83670d7b83c96809b00fca95d352