commit | 622e3cc419d2edd8774112b4332dfe2a59500bc8 | [log] [tgz] |
---|---|---|
author | Santhosh Kumar H E <skhara@codeaurora.org> | Wed Dec 03 15:33:56 2014 +0530 |
committer | Santhosh Kumar H E <skhara@codeaurora.org> | Thu Dec 04 12:39:26 2014 +0530 |
tree | 333244161ac102c335dda81ce4f199cf179f1d0a | |
parent | cb2b6c7ece30fe041de8ec8e33c5c6d071c41c12 [diff] |
Initialize focus overlay manager if it is not initialized. Camera open thread initializes the focus overlay manager after opening camera. In a rare scenario above background thread had not initialized focus overlay manager by the time UI thread start acessesing it, so we see a crash. Initialize focus overlay manager from UI thread if it is not initialized already. Change-Id: I1635c8759d0e0647fe61fe975a0cc24df40df529