Yin-Chia Yeh 6dc9b53abe 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
2017-02-09 23:10:57 -08:00
2017-02-09 23:10:57 -08:00
2017-02-03 10:03:01 -08:00
2017-02-03 10:03:01 -08:00
2017-02-03 10:03:01 -08:00
2017-02-03 10:03:01 -08:00
2017-02-03 10:03:01 -08:00
2017-02-03 10:03:01 -08:00
2017-02-03 10:03:01 -08:00
2017-02-03 10:03:01 -08:00
2017-02-03 10:03:01 -08:00
2017-01-18 11:49:08 -08:00
2017-02-03 10:03:01 -08:00
2016-10-26 12:05:29 +02:00
2016-08-30 11:28:36 -07:00
2016-08-30 11:28:36 -07:00
Description
No description provided
134 MiB
Languages
C++ 56.3%
AIDL 41.2%
C 1.5%
Rust 0.4%
Java 0.4%
Other 0.1%