summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2013-03-27 10:52:50 -0700
committerDoris Liu <tianliu@google.com>2013-03-27 10:52:50 -0700
commit1f69b697746b62c76c8a4892c62e20380151be69 (patch)
tree5b5712d646357e142b54401d9020ca463aac900e
parent8737bd93a989cc5608065b13f0682f60a6e18e27 (diff)
downloadandroid_packages_apps_Snap-1f69b697746b62c76c8a4892c62e20380151be69.tar.gz
android_packages_apps_Snap-1f69b697746b62c76c8a4892c62e20380151be69.tar.bz2
android_packages_apps_Snap-1f69b697746b62c76c8a4892c62e20380151be69.zip
Workaround for switcher popup being cut off on ICS
Bug: 8390375 Change-Id: Ie4a196824751ae6717849f210c3e8e17e4aa014d
-rw-r--r--src/com/android/camera/ui/CameraSwitcher.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/camera/ui/CameraSwitcher.java b/src/com/android/camera/ui/CameraSwitcher.java
index e9551ada2..b046ff7ae 100644
--- a/src/com/android/camera/ui/CameraSwitcher.java
+++ b/src/com/android/camera/ui/CameraSwitcher.java
@@ -313,6 +313,8 @@ public class CameraSwitcher extends RotateImageView
// Verify that we weren't canceled
if (showsPopup()) {
setVisibility(View.INVISIBLE);
+ // request layout to make sure popup is laid out correctly on ICS
+ mPopup.requestLayout();
}
}
};