commit | 63cc61ff0f25dc3c8442e5f1b17c31bc6d98f69f | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Wed Feb 01 15:27:41 2017 -0800 |
committer | gitbuildkicker <android-build@google.com> | Wed Feb 22 13:44:27 2017 -0800 |
tree | e95e671bfe9870850641b541989e5370d6da2ed0 | |
parent | a0d2ff1968868ed0477e07859af216ec61198c6f [diff] |
CameraBase: Don't return an sp<> by reference If the server dies, the binder death callback clears out the global camera service sp<>, and any current references to it will become quite unhappy. Test: Camera CTS passes Bug: 31992879 Change-Id: I2966bed35d0319e3f26e3d4b1b8dc08006a22348 (cherry picked from commit f86177dd930680bf939ef33b9977db27628d7aff)