commit | 161d466da681a188b5c13472b8e186ba7cbb0bea | [log] [tgz] |
---|---|---|
author | Jay Wang <jaywang@codeaurora.org> | Fri Jun 24 15:58:31 2016 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Sun Jun 26 23:49:19 2016 -0700 |
tree | 5443cd1eb9b6480277f32f2b273c79ee42ac0bd0 | |
parent | 79a0a46a89e0c1497693fd67e6745d00274dd809 [diff] |
SnapdragonCamera: Fix first-time crash and cleanup permissions As onCreate skips the creation of setting manager when the critical permissions are not granted, this causes the onDestroy to call setting manager destroy function with null pointer. Fix the issue with null check. In addition, remove unused permissions from manifest file Change-Id: I99b5f09449aacfb7eb9a5771e446df75956a9827 CRs-Fixed: 1034202