commit | 8479316637e8c4aa620c9c5bd6abb347885e1af2 | [log] [tgz] |
---|---|---|
author | Likai Ding <likaid@codeaurora.org> | Fri Jun 06 11:25:20 2014 +0800 |
committer | Likai Ding <likaid@codeaurora.org> | Fri Jun 06 11:25:20 2014 +0800 |
tree | 9d78f40b8df25465d90a70e61ad4db4659af3c19 | |
parent | 388b3690fad4a847bad20a623138a66f4255b02d [diff] |
Camera2: disable the shutter button when not previewing Camera app will crash if the shutter button is clicked while not previewing. Disable the shutter button in onStopPreview() as it's called by onSurfaceTextureDestroyed(). Change-Id: Ied369610c590323b977b4ac1c3150c6c905e9466 CRs-Fixed: 669190