diff options
| author | Chet Haase <chet@google.com> | 2010-11-11 14:04:10 -0800 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-11-11 14:04:10 -0800 |
| commit | 449bb119c954e6beacdfc7074c4d4a8254a07a13 (patch) | |
| tree | b4ca515733d66a032ec0bf785380c44fafcf8f55 /core | |
| parent | 088f50ccf74d191b3d0d01cff6e9045a1f04c0f1 (diff) | |
| parent | 9891e1fce5f29d0421d34aa481037417bd70853d (diff) | |
| download | frameworks_base-449bb119c954e6beacdfc7074c4d4a8254a07a13.zip frameworks_base-449bb119c954e6beacdfc7074c4d4a8254a07a13.tar.gz frameworks_base-449bb119c954e6beacdfc7074c4d4a8254a07a13.tar.bz2 | |
Merge "Add invalidation to Drawable when its properties change"
Diffstat (limited to 'core')
| -rw-r--r-- | core/java/android/view/View.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index 454ef4d..026f1a0 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -8637,7 +8637,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility public void setBackgroundColor(int color) { if (mBGDrawable instanceof ColorDrawable) { ((ColorDrawable) mBGDrawable).setColor(color); - invalidate(); } else { setBackgroundDrawable(new ColorDrawable(color)); } |
