commit | 900b5fa904678a96a7196ed10a670209fefb9126 | [log] [tgz] |
---|---|---|
author | Steve Kondik <shade@chemlab.org> | Tue Oct 01 03:17:06 2013 -0700 |
committer | Whitehawkx <xxwhitehawk@gmail.com> | Tue Oct 01 07:09:37 2013 -0700 |
tree | 4f3b177fe8796afcbf2f914d35dde68bd92eb2f6 | |
parent | e129404551e0065e4cdce48806c7be33f5af9433 [diff] |
camera: Fix camera startup racing with orientation change * When launching the camera via the lock screen widget on some devices, the orientation change shows up late, and we get an onConfigurationChanged in the middle of setting up the textures, causing an infinite wait in the UI thread. * Ignore these events until the preview is up and running, orientation will be checked later. Change-Id: Icf5013e039324d617acd1c1108d37c655776c1c3