commit | 6dc9b53abebd02ca2bf6e2deb59a90c8520a30ef | [log] [tgz] |
---|---|---|
author | Yin-Chia Yeh <yinchiayeh@google.com> | Thu Feb 09 18:43:35 2017 -0800 |
committer | Yin-Chia Yeh <yinchiayeh@google.com> | Thu Feb 09 23:10:57 2017 -0800 |
tree | 95d3199da09d0684737198a263214c34dbeb0a11 | |
parent | de85b24b9e0477c0f9866977638eae387fb8bdeb [diff] |
Camera: fix open_legacy crash If the torch callback is fired during CameraProvider constructor, the sp will cause it being deleted when the callback returns. Test: fix the crash Bug: 35216523 Change-Id: I133d866ed603d6c7e549b57d20a911af7a7e0698