commit | 79e96aeca1ba6cc11b2af4412b01c58ee786fbe0 | [log] [tgz] |
---|---|---|
author | Jay Wang <jaywang@codeaurora.org> | Thu Jul 28 12:46:37 2016 -0700 |
committer | Jay Wang <jaywang@codeaurora.org> | Thu Jul 28 12:54:43 2016 -0700 |
tree | 742b7e6ecf32e175b1bd90541457be58041fb062 | |
parent | 9f65ee95c61d70d6f7c34cd8bedea61ff1cdf2d1 [diff] |
SnapdragonCamera: Fixed NPE when triggering snapshot from key button When user triggers snapshot from key button, it is possible that the camera control menu is not initialized and causes NPE. To resolve issue, only process the snapshot request after control menu is initialized. Change-Id: I14f8739e48406d6008ae6e1d5463dffe997b0bd9 CRs-Fixed: 1045625