diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2016-04-17 21:56:42 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-04-17 21:56:42 -0700 |
commit | b725102767aedd58057392053a8d7930626b329b (patch) | |
tree | 4f7411c143c36b3f1c20d10419e1c77713654a25 /src/com/android/camera/PhotoModule.java | |
parent | da2134d634cfa33cb4388fb08e300678766be56c (diff) | |
parent | c094769759256b8d88ef82b0bc4d6990d6afec7e (diff) | |
download | android_packages_apps_Snap-b725102767aedd58057392053a8d7930626b329b.tar.gz android_packages_apps_Snap-b725102767aedd58057392053a8d7930626b329b.tar.bz2 android_packages_apps_Snap-b725102767aedd58057392053a8d7930626b329b.zip |
Merge "SnapdragonCamera: fix instant capture setting issue" into camera.lnx.1.0-dev.1.0
Diffstat (limited to 'src/com/android/camera/PhotoModule.java')
-rw-r--r-- | src/com/android/camera/PhotoModule.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/com/android/camera/PhotoModule.java b/src/com/android/camera/PhotoModule.java index 0cea85f99..f3d9a4ca1 100644 --- a/src/com/android/camera/PhotoModule.java +++ b/src/com/android/camera/PhotoModule.java @@ -2373,17 +2373,17 @@ public class PhotoModule || MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE.equals(action)) { Log.v(TAG, "On resume, from lock screen."); + // Check if there is a need to take a snapshot without + // waiting for the shutter click + if (isInstantCaptureEnabled()) { + mInstantCaptureSnapShot = true; + } + // Note: onPauseAfterSuper() will delete this runnable, so we will // at most have 1 copy queued up. mHandler.postDelayed(new Runnable() { public void run() { onResumeTasks(); - - // Check if there is a need to take a snapshot without - // waiting for the shutter click - if (isInstantCaptureEnabled()) { - mInstantCaptureSnapShot = true; - } } }, ON_RESUME_TASKS_DELAY_MSEC); } else { |