OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e9c300
)
Fixed a bug where the outline was not correctly updated
author
Selim Cinek
<cinek@google.com>
Tue, 29 Apr 2014 12:41:36 +0000
(14:41 +0200)
committer
Selim Cinek
<cinek@google.com>
Tue, 29 Apr 2014 12:41:36 +0000
(14:41 +0200)
The outline was not correctly copied to the field when it already
existed.
Change-Id: I02a7006f7ceff9241b1c52c73ea159c59aa7464e
core/java/android/view/View.java
patch
|
blob
|
history
diff --git
a/core/java/android/view/View.java
b/core/java/android/view/View.java
index
fdf31fa
..
743ab77
100644
(file)
--- a/
core/java/android/view/View.java
+++ b/
core/java/android/view/View.java
@@
-10585,8
+10585,9
@@
public class View implements Drawable.Callback, KeyEvent.Callback,
} else {
// always copy the path since caller may reuse
if (mOutline == null) {
- mOutline = new Outline(
outline
);
+ mOutline = new Outline();
}
+ mOutline.set(outline);
}
mRenderNode.setOutline(mOutline);
}