commit | f86177dd930680bf939ef33b9977db27628d7aff | [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 12:13:16 2017 -0800 |
tree | 113868c2d2eef459f6538acd0a6d9ff9ffb1d84d | |
parent | 5337437a1cd62a96a0c772e2ff0738e372d8aa93 [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