From 2266f7acf2f6e7bb7ccbecd008093f1651a515df Mon Sep 17 00:00:00 2001 From: junjiez Date: Thu, 21 Nov 2019 17:28:52 +0800 Subject: 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 --- src/com/android/camera/CaptureModule.java | 2 ++ 1 file changed, 2 insertions(+) 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()) { -- cgit v1.2.3