commit | c1099445567e840180d8858b866cad7caea85c7b | [log] [tgz] |
---|---|---|
author | lwan89 <liang.wang@intel.com> | Tue Jun 02 16:13:31 2015 +0800 |
committer | Miao Wang <miaowang@google.com> | Mon Apr 04 18:16:37 2016 -0700 |
tree | 11015002e9256b329a80d08df6fd5ebbd373e1dd | |
parent | a7949252dab41e404ce9f56fc3d19f81e22eb259 [diff] |
tests: Fix crash and static preview issue for LivePreview APK. 1. Set mPreviewTexture to null to avoid crash when stop and resume app. 2. Don't stop camera preview when data buffer size is mismatched, this will avoid RS preview frame be static when switch resolution time to time. Change-Id: Ib925f9ec191fb03aeb28848e5b631f9e74cd1637 Signed-off-by: lwan89 <liang.wang@intel.com>