summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjunjiez <junjiez@codeaurora.org>2019-11-21 17:28:52 +0800
committerjunjiez <junjiez@codeaurora.org>2019-11-21 17:28:52 +0800
commit2266f7acf2f6e7bb7ccbecd008093f1651a515df (patch)
tree68397d94b52ce6e04bf9c43b9bb2717e27ffb01f
parentf3b7cacf2b53b3239fc29ffddc2028be6dba89a2 (diff)
downloadandroid_packages_apps_Snap-2266f7acf2f6e7bb7ccbecd008093f1651a515df.tar.gz
android_packages_apps_Snap-2266f7acf2f6e7bb7ccbecd008093f1651a515df.tar.bz2
android_packages_apps_Snap-2266f7acf2f6e7bb7ccbecd008093f1651a515df.zip
SnapdraongCamera:Add shutter logs
Add logs for shutter button when click and release to indicate shot to shot latency Change-Id: Ie16c6341b396243164c03ecdf6f60a25023f5bef CRs-Fixed: 2515200
-rwxr-xr-xsrc/com/android/camera/CaptureModule.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/camera/CaptureModule.java b/src/com/android/camera/CaptureModule.java
index d4db0b771..af96bfaea 100755
--- a/src/com/android/camera/CaptureModule.java
+++ b/src/com/android/camera/CaptureModule.java
@@ -2501,6 +2501,7 @@ public class CaptureModule implements CameraModule, PhotoController,
} else {
enableShutterAndVideoOnUiThread(id);
}
+ Log.d(TAG,"onShutterButtonRelease");
if (mSettingsManager.getSavePictureFormat() == SettingsManager.HEIF_FORMAT) {
if (mHeifImage != null) {
try {
@@ -5702,6 +5703,7 @@ public class CaptureModule implements CameraModule, PhotoController,
+ mActivity.getStorageSpaceBytes());
return;
}
+ Log.d(TAG,"onShutterButtonClick");
if (mIsRecordingVideo) {
if (mUI.isShutterEnabled()) {