diff options
author | junjiez <junjiez@codeaurora.org> | 2019-11-21 17:28:52 +0800 |
---|---|---|
committer | junjiez <junjiez@codeaurora.org> | 2019-11-21 17:28:52 +0800 |
commit | 2266f7acf2f6e7bb7ccbecd008093f1651a515df (patch) | |
tree | 68397d94b52ce6e04bf9c43b9bb2717e27ffb01f | |
parent | f3b7cacf2b53b3239fc29ffddc2028be6dba89a2 (diff) | |
download | android_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-x | src/com/android/camera/CaptureModule.java | 2 |
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()) { |