diff options
author | Jay Wang <jaywang@codeaurora.org> | 2016-02-01 13:10:14 -0800 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2016-09-30 14:41:02 -0700 |
commit | 597e7cc826eb65c0fcf2b600f4aef76a13e02a45 (patch) | |
tree | ec2db51fab38d2113b97f0c4ac76c2193eaed755 /res/values-csb-rPL/cm_strings.xml | |
parent | 778dd70562d56bd10741fbe1eeadcad053ff3968 (diff) | |
download | android_packages_apps_Snap-597e7cc826eb65c0fcf2b600f4aef76a13e02a45.tar.gz android_packages_apps_Snap-597e7cc826eb65c0fcf2b600f4aef76a13e02a45.tar.bz2 android_packages_apps_Snap-597e7cc826eb65c0fcf2b600f4aef76a13e02a45.zip |
SnapdragonCamera: Fix blank preview issue during pause & resume
Continuous pause & resume operation by pressing the power button
can cause the blank preview. The application close the camera when
there is onPause or screen off intent. Sometimes the resume comes
after screen off intent when user resumes the device quickly after
pausing the device. Because of this race-condition, the camera is
closed unintentionally.
To resolve the issue, re-structure the code to receive screen-off
intent only during video recording and stop the recording when
intent is received.
Change-Id: Ic993b83527b41dbbf53f63ef8ca25fa3a12fb77e
CRs-Fixed: 970172
Diffstat (limited to 'res/values-csb-rPL/cm_strings.xml')
0 files changed, 0 insertions, 0 deletions