commit | 74f6c79b513c5a6e032c009a037f67e256aab7ba | [log] [tgz] |
---|---|---|
author | Michael Wright <michaelwr@google.com> | Tue Aug 25 21:15:12 2015 +0100 |
committer | Michael Wright <michaelwr@google.com> | Tue Aug 25 21:15:12 2015 +0100 |
tree | 35be50f594899a27bea92dd24613a3da7916db11 | |
parent | 26b555d42ce2cf78d42ebcc9806447bf83df9318 [diff] |
Update rotation without holding the WOL lock. We need to make sure to only ever update the orientation of the device from WindowOrientationListener when we're not holding the WOL class lock, otherwise we can deadlock when WMS calls into us to set the orientation based on an apps preference. Bug: 23491348 Change-Id: Ifeded4d5d1dc923fa2ce0473bc4b7fe950dc0cfd