commit | 69ad8183751d7ee7615c14e6d0e20bdd50861e23 | [log] [tgz] |
---|---|---|
author | Bryce Lee <brycelee@google.com> | Thu Sep 28 10:01:36 2017 -0700 |
committer | Bryce Lee <brycelee@google.com> | Thu Sep 28 10:08:43 2017 -0700 |
tree | 1e61b6092a721c53cf1e5bd9f7a6b91914225173 | |
parent | 9b120d5a08b6c08ff682de87ed3888d8bb35ddc8 [diff] |
Reduce synchronized lock scope. The lock was introduced earlier to prevent race conditions between setting the visibility and configuration. However, holding the lock for the entire method leads to an increase in the frame time. This changelist reduces the scope of the lock to cover the core logic where this condition applies. Change-Id: Ia97b3680f730264c10ff5067e4f21180cfb2202e Fixes: 67010772 Test: go/wm-smoke