commit | 4b49489c12e6862e9a320ebcb53872e809ed20ec | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Wed Feb 01 15:27:41 2017 -0800 |
committer | Eino-Ville Talvala <etalvala@google.com> | Thu Feb 02 11:40:56 2017 -0800 |
tree | c0e73d122ec6691384ef8f0b16debb3a1c60fdb3 | |
parent | c2f0c73bfcf36219f446e3eef9effe49a3a415a5 [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