diff options
author | Ashok Raj Deenadayalan <adeena@codeaurora.org> | 2013-10-25 18:48:22 +0530 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2013-10-31 19:40:34 -0600 |
commit | 6b39715d4861baff73dcb7c55b41ff298b39aa15 (patch) | |
tree | 13f405d2fe359ffcf359aa3917da457741ec3c75 /src/com/android/camera/util/CameraUtil.java | |
parent | 5f89a9a8d24be8d84fa589d63d6d9ac2622410b3 (diff) | |
download | android_packages_apps_Snap-6b39715d4861baff73dcb7c55b41ff298b39aa15.tar.gz android_packages_apps_Snap-6b39715d4861baff73dcb7c55b41ff298b39aa15.tar.bz2 android_packages_apps_Snap-6b39715d4861baff73dcb7c55b41ff298b39aa15.zip |
Camera: Synchronising video functionality of errant usecase.
When user switches to VideoModule and executes the capture, stops it
immediately, after several such attempts the media recorder enters
into illegal state, in such situation, if user still continues the
same behaviour, app will be flooded with the onShutter events which
will lead to ANR, and further similar trials will lead to crash.
Here, we are synchronizing the behaviour(user events)by checking the
entry/exit body of majorly hit functions so that app will not be
flooded with user events.
(cherrypicked from: I3e7768211855a31f1c573d0ed89abb5c6216cb1b)
Change-Id: Ia65f39c24822ae09694b8247fa58ffb1770e74da
CRs-fixed: 534762
(cherry picked from commit 615b8451f787aa8e34834847301fd151d7eb66d6)
(cherry picked from commit cf6dfaf3aa65b46b74f3e54236b24638ad1249de)
Diffstat (limited to 'src/com/android/camera/util/CameraUtil.java')
0 files changed, 0 insertions, 0 deletions