commit | a27780e0aa7eab16ea42ad4f93957cf523c82002 | [log] [tgz] |
---|---|---|
author | Fyodor Kupolov <fkupolov@google.com> | Thu Feb 02 18:33:18 2017 -0800 |
committer | Fyodor Kupolov <fkupolov@google.com> | Thu Feb 02 18:33:31 2017 -0800 |
tree | 5bc8f09e9123acccd7fccbbddd4df460099ece3e | |
parent | b3f0849c3edfdb9f48c7171199467944457bc527 [diff] |
Use self-locking for mAvailableFeatures mAvailableFeatures is read-only and set in the constructor. Calls to hasSystemFeature are often blocked if PM is busy with other operations. Test: manual - device boots without errors Bug: 33199244 Change-Id: I5ce0fa7af37e95ac64afb11a1022a27e37c67703