summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRockchip2015-02-10 17:25:46 +0800
committerRockchip2015-02-10 17:25:46 +0800
commit9b4458ed71a9b23204d619d1c826cf87a527f6a8 (patch)
treeec40f197f763c05fd535bac96abc2631f151faba
parent0fe2f33dd80fa3458987155c39d65b0576357658 (diff)
Only not showing undo bar if there is actrual one left.
Signed-off-by: Rockchip <service@rock-chips.com>
-rw-r--r--src/com/android/camera/CameraActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/CameraActivity.java b/src/com/android/camera/CameraActivity.java
index 0e80489..cb6b826 100644
--- a/src/com/android/camera/CameraActivity.java
+++ b/src/com/android/camera/CameraActivity.java
@@ -1271,7 +1271,7 @@ public class CameraActivity extends Activity
private void removeData(int dataID) {
mDataAdapter.removeData(dataID);
- if (mDataAdapter.getTotalNumber() > 1) {
+ if (mDataAdapter.getTotalNumber() >= 1) {
showUndoDeletionBar();
} else {
// If camera preview is the only view left in filmstrip,