commit | 2c64a43981bd79e2ce98f11cb835057f842ef57c | [log] [tgz] |
---|---|---|
author | Santhosh Kumar H E <skhara@codeaurora.org> | Wed Dec 03 15:33:56 2014 +0530 |
committer | Jackeagle <jackeagle102@gmail.com> | Tue Nov 12 02:49:34 2019 -0500 |
tree | d8231ebebbed9f6606a515c0626313f9c66cea5e | |
parent | 43077fdf2ac26dbf714c45480ce3d2dafd1b1b08 [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