OSDN Git Service
(root)
/
android-x86
/
packages-apps-Camera2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dd47d9
)
Workaround for switcher popup being cut off on ICS
author
Doris Liu
<tianliu@google.com>
Wed, 27 Mar 2013 17:52:50 +0000
(10:52 -0700)
committer
Doris Liu
<tianliu@google.com>
Wed, 27 Mar 2013 17:52:50 +0000
(10:52 -0700)
Bug:
8390375
Change-Id: Ie4a196824751ae6717849f210c3e8e17e4aa014d
src/com/android/camera/ui/CameraSwitcher.java
patch
|
blob
|
history
diff --git
a/src/com/android/camera/ui/CameraSwitcher.java
b/src/com/android/camera/ui/CameraSwitcher.java
index
e9551ad
..
b046ff7
100644
(file)
--- 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();
}
}
};