commit | d46ac0034a0fe7b700c4f39499dd22c2c5da5300 | [log] [tgz] |
---|---|---|
author | Paul Rohde <codelogic@google.com> | Mon May 11 11:29:21 2015 -0700 |
committer | Paul Rohde <codelogic@google.com> | Mon May 11 11:34:42 2015 -0700 |
tree | 1979b4db895e8af24810c3eb68ca51c46a784136 | |
parent | edd5f8086326786390a7c74dda3f0a6c9ba933b5 [diff] |
Hide no active camera NPE by defaulting to camera device -1 NPE's can occur if no camera device is currently active. It's not feasable to rewire all parts of the codebase for this release to properly access the target camera device. This fix may lead to inconsistent setting persistance if in places where a NPE would otherwise occur. Bug: 21026362 Change-Id: I76c5b5fab429f61238a1ba91c0c52e839a431573