summaryrefslogtreecommitdiffstats
path: root/graphics/java/android/graphics/drawable/ShapeDrawable.java
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/java/android/graphics/drawable/ShapeDrawable.java')
-rw-r--r--graphics/java/android/graphics/drawable/ShapeDrawable.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/java/android/graphics/drawable/ShapeDrawable.java b/graphics/java/android/graphics/drawable/ShapeDrawable.java
index 6677a35..c699a82 100644
--- a/graphics/java/android/graphics/drawable/ShapeDrawable.java
+++ b/graphics/java/android/graphics/drawable/ShapeDrawable.java
@@ -396,6 +396,11 @@ public class ShapeDrawable extends Drawable {
}
@Override
+ public Drawable newDrawable(Resources res) {
+ return new ShapeDrawable(this);
+ }
+
+ @Override
public int getChangingConfigurations() {
return mChangingConfigurations;
}