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:
f9ff7ff
)
Reset ongoing animation when opening menu
author
Michael Kolb
<kolby@google.com>
Wed, 24 Apr 2013 21:49:46 +0000
(14:49 -0700)
committer
Michael Kolb
<kolby@google.com>
Wed, 24 Apr 2013 21:49:46 +0000
(14:49 -0700)
Bug:
8687199
The XFade animation was not reset and yielded a transparent alpha
Change-Id: Ie2e43eccb2b4351ebf7d00075c567950ca6b2967
src/com/android/camera/ui/PieRenderer.java
patch
|
blob
|
history
diff --git
a/src/com/android/camera/ui/PieRenderer.java
b/src/com/android/camera/ui/PieRenderer.java
index
bd3c2f7
..
9edc111
100644
(file)
--- a/
src/com/android/camera/ui/PieRenderer.java
+++ b/
src/com/android/camera/ui/PieRenderer.java
@@
-268,6
+268,9
@@
public class PieRenderer extends OverlayRenderer
*/
private void show(boolean show) {
if (show) {
+ if (mXFade != null) {
+ mXFade.cancel();
+ }
mState = STATE_PIE;
// ensure clean state
mCurrentItem = null;