summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ui
diff options
context:
space:
mode:
authormingwax <mingwax@codeaurora.org>2017-06-13 17:21:41 +0800
committermingwax <mingwax@codeaurora.org>2017-06-14 09:33:12 +0800
commit260f0c86fd07700151553b121486c3afc2f1c288 (patch)
tree41bdc677254c87b690cf5b69accc2af1d55e07b2 /src/com/android/camera/ui
parent078db5762118259eed59cc4b595977c00e8158d4 (diff)
downloadandroid_packages_apps_Snap-260f0c86fd07700151553b121486c3afc2f1c288.tar.gz
android_packages_apps_Snap-260f0c86fd07700151553b121486c3afc2f1c288.tar.bz2
android_packages_apps_Snap-260f0c86fd07700151553b121486c3afc2f1c288.zip
SnapdragonCamera: Fix mRemainingPhotos show error issue
When user select the high quality picture, hide the remainingPhoto. When user select the standard or low quality picture, show the remainingPhoto. CRs-Fixed: 2058878 Change-Id: I7924b71fa01b28b6ef7e07abfbc23a577c695d62
Diffstat (limited to 'src/com/android/camera/ui')
-rw-r--r--src/com/android/camera/ui/CameraControls.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/camera/ui/CameraControls.java b/src/com/android/camera/ui/CameraControls.java
index b85d7f1ca..2a2222804 100644
--- a/src/com/android/camera/ui/CameraControls.java
+++ b/src/com/android/camera/ui/CameraControls.java
@@ -1067,6 +1067,12 @@ public class CameraControls extends RotatableLayout {
mRemainingPhotosText.setVisibility(View.GONE);
}
+ public void showRemainingPhotoCnt() {
+ mHideRemainingPhoto = false;
+ mRemainingPhotos.setVisibility(View.VISIBLE);
+ mRemainingPhotosText.setVisibility(View.VISIBLE);
+ }
+
private class ArrowTextView extends TextView {
private static final int TEXT_SIZE = 14;
private static final int PADDING_SIZE = 18;