diff options
author | Santhosh Kumar H E <skhara@codeaurora.org> | 2014-12-03 15:33:56 +0530 |
---|---|---|
committer | Michael Bestas <mikeioannina@gmail.com> | 2017-01-04 21:57:34 +0200 |
commit | 74ed3d03e9ecf4e05c90c9d90286d9cd5c8c5b86 (patch) | |
tree | 748eb27e4a1b4c043ddbcdb3114efb3acfb4879f /src/com/android/camera/VideoModule.java | |
parent | c04b71ed4537c2ae50265f0f8420a9f879448d80 (diff) | |
download | android_packages_apps_Snap-74ed3d03e9ecf4e05c90c9d90286d9cd5c8c5b86.tar.gz android_packages_apps_Snap-74ed3d03e9ecf4e05c90c9d90286d9cd5c8c5b86.tar.bz2 android_packages_apps_Snap-74ed3d03e9ecf4e05c90c9d90286d9cd5c8c5b86.zip |
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
Diffstat (limited to 'src/com/android/camera/VideoModule.java')
0 files changed, 0 insertions, 0 deletions