Commit ffa2ff02 authored by Spike Sprague's avatar Spike Sprague
Browse files

added a mutate() call when loading LayerDrawables.

bug: 16566825
Change-Id: I71a3a9787b73957f9c34bf1ffa52df41c3a5f6e6
parent df5989b0
......@@ -107,7 +107,7 @@ public class BottomBar extends FrameLayout {
for (int i = 0; i < len; i++) {
int drawableId = ar.getResourceId(i, -1);
LayerDrawable shutterBackground = mShutterButtonBackgrounds[i] =
(LayerDrawable) context.getResources().getDrawable(drawableId);
(LayerDrawable) context.getResources().getDrawable(drawableId).mutate();
// the background for video has a circle_item drawable placeholder
// that gets replaced by an AnimatedCircleDrawable for the cool
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment