diff options
author | Santhosh Kumar Thimmanna Bhattar <sthim@codeaurora.org> | 2017-12-19 15:29:25 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-01-09 03:52:44 -0800 |
commit | 93b93624f809476c91f6f30ef1e5739e63ab1917 (patch) | |
tree | 9473dd5bd77bd83f28fd2e2e05c316c7e74d8f09 /src/com/android/camera/PhotoUI.java | |
parent | e2960833b9e4fdfc085ec5cfe2c39959d7cd6928 (diff) | |
download | android_packages_apps_Snap-93b93624f809476c91f6f30ef1e5739e63ab1917.tar.gz android_packages_apps_Snap-93b93624f809476c91f6f30ef1e5739e63ab1917.tar.bz2 android_packages_apps_Snap-93b93624f809476c91f6f30ef1e5739e63ab1917.zip |
SnapdragonCamera: Rename the resource Id to fix CTS issue.
Issue:
CTS test case testImageCapture is failing due to mismatch in
resource Id of OK button in SnapdragonCamera app and CTS .
After take picture , CTS app is sending click event for OK button
in SnapdragonCamera. But event is failed due to mismatch in Id.
Fix:
Rename resource Id of OK button as per the CTS.
Change-Id: I7d3b087e4ac73fc7ee1034b7d2845241e6023b29
Diffstat (limited to 'src/com/android/camera/PhotoUI.java')
-rw-r--r-- | src/com/android/camera/PhotoUI.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/PhotoUI.java b/src/com/android/camera/PhotoUI.java index 3ea7b60a4..e87ec6a59 100644 --- a/src/com/android/camera/PhotoUI.java +++ b/src/com/android/camera/PhotoUI.java @@ -597,7 +597,7 @@ public class PhotoUI implements PieListener, ViewGroup cameraControls = (ViewGroup) mRootView.findViewById(R.id.camera_controls); mActivity.getLayoutInflater().inflate(R.layout.review_module_control, cameraControls); - mReviewDoneButton = mRootView.findViewById(R.id.btn_done); + mReviewDoneButton = mRootView.findViewById(R.id.done_button); mReviewCancelButton = mRootView.findViewById(R.id.btn_cancel); mReviewRetakeButton = mRootView.findViewById(R.id.btn_retake); mReviewImage = (ImageView) mRootView.findViewById(R.id.review_image); |