diff options
author | Doris Liu <tianliu@google.com> | 2013-03-27 10:52:50 -0700 |
---|---|---|
committer | Doris Liu <tianliu@google.com> | 2013-03-27 10:52:50 -0700 |
commit | 1f69b697746b62c76c8a4892c62e20380151be69 (patch) | |
tree | 5b5712d646357e142b54401d9020ca463aac900e /src/com/android/camera | |
parent | 8737bd93a989cc5608065b13f0682f60a6e18e27 (diff) | |
download | android_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
Diffstat (limited to 'src/com/android/camera')
-rw-r--r-- | src/com/android/camera/ui/CameraSwitcher.java | 2 |
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(); } } }; |