Merge "Don't propagate level or RTL in LayerDrawable.setDrawable()" into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
edcaf7c933
@@ -564,8 +564,6 @@ public class LayerDrawable extends Drawable implements Drawable.Callback {
|
||||
|
||||
if (drawable != null) {
|
||||
drawable.setCallback(this);
|
||||
drawable.setLayoutDirection(getLayoutDirection());
|
||||
drawable.setLevel(getLevel());
|
||||
}
|
||||
|
||||
childDrawable.mDrawable = drawable;
|
||||
|
||||
Reference in New Issue
Block a user