summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Mount <mount@google.com>2012-10-23 09:33:20 -0700
committerGeorge Mount <mount@google.com>2012-10-23 09:45:53 -0700
commit1d5fda98a8d6bb28ef3eafb1fc0f24152a91560e (patch)
tree8dcbe97e49906cfb9118c403dc8724b226f32527
parent4e791ba2c3992d948c0ac4c70c2dafd289386c21 (diff)
downloadandroid_packages_apps_Snap-1d5fda98a8d6bb28ef3eafb1fc0f24152a91560e.tar.gz
android_packages_apps_Snap-1d5fda98a8d6bb28ef3eafb1fc0f24152a91560e.tar.bz2
android_packages_apps_Snap-1d5fda98a8d6bb28ef3eafb1fc0f24152a91560e.zip
Ensure photo sphere icon shows for panoramas.
Bug 7393844 Change-Id: Id3b0d15606ec6e5d41558cbfc5089c4b1b229c63
-rw-r--r--src/com/android/gallery3d/app/PhotoPageBottomControls.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/app/PhotoPageBottomControls.java b/src/com/android/gallery3d/app/PhotoPageBottomControls.java
index f416fe52f..415111fb9 100644
--- a/src/com/android/gallery3d/app/PhotoPageBottomControls.java
+++ b/src/com/android/gallery3d/app/PhotoPageBottomControls.java
@@ -116,6 +116,7 @@ public class PhotoPageBottomControls implements OnClickListener {
control.startAnimation(getControlAnimForVisibility(curVisibility));
}
control.setVisibility(curVisibility ? View.VISIBLE : View.INVISIBLE);
+ control.requestLayout(); // Kick framework to draw the control.
mControlsVisible.put(control, curVisibility);
}
}