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:
9260cb7
)
Don't call updateDisplayListIfDirty outside draw.
author
George Mount
<mount@google.com>
Fri, 8 May 2015 14:48:19 +0000
(07:48 -0700)
committer
George Mount
<mount@google.com>
Fri, 8 May 2015 14:51:44 +0000
(07:51 -0700)
Bug
20909826
Change-Id: If332319ba192606cc30fc8d0de00086fc5135deb
core/java/android/view/GhostView.java
patch
|
blob
|
history
diff --git
a/core/java/android/view/GhostView.java
b/core/java/android/view/GhostView.java
index
bc38e1a
..
706f230
100644
(file)
--- a/
core/java/android/view/GhostView.java
+++ b/
core/java/android/view/GhostView.java
@@
-83,8
+83,7
@@
public class GhostView extends View {
mView.mGhostView = null;
final ViewGroup parent = (ViewGroup) mView.getParent();
if (parent != null) {
- parent.mRecreateDisplayList = true;
- parent.updateDisplayListIfDirty();
+ parent.invalidate();
}
}
}