summaryrefslogtreecommitdiffstats
path: root/core/java/android/view
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2015-01-26 14:39:11 -0800
committerChris Craik <ccraik@google.com>2015-01-26 14:40:29 -0800
commitc43a82094584d2112aef2ee7bf74e1510a7a0b16 (patch)
treeea5ad632b1925001b30f38bcb9c634c481ad1edc /core/java/android/view
parentd57adbbc4f2f8ccd8fc4a4de0508a8243ace3866 (diff)
downloadframeworks_base-c43a82094584d2112aef2ee7bf74e1510a7a0b16.zip
frameworks_base-c43a82094584d2112aef2ee7bf74e1510a7a0b16.tar.gz
frameworks_base-c43a82094584d2112aef2ee7bf74e1510a7a0b16.tar.bz2
Invalidate outline on padding update
bug:19113359 Ensures that ViewOutlineProvider#PADDED_BOUNDS is always kept up to date with the view's padding. Change-Id: I5e090bd8272e89d6b8b9055dbe95ef3d45333fcb
Diffstat (limited to 'core/java/android/view')
-rw-r--r--core/java/android/view/View.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java
index 6a36c26..b8eb80a 100644
--- a/core/java/android/view/View.java
+++ b/core/java/android/view/View.java
@@ -16650,6 +16650,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
if (changed) {
requestLayout();
+ invalidateOutline();
}
}