Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9027696b authored by Cary Clark's avatar Cary Clark Committed by Android Git Automerger
Browse files

am 9e5f3ec9: am e3bbaf6c: Merge "set nine patch padding initially to an empty...

am 9e5f3ec9: am e3bbaf6c: Merge "set nine patch padding initially to an empty rectangle" into eclair-mr2

Merge commit '9e5f3ec9'

* commit '9e5f3ec9':
  set nine patch padding initially to an empty rectangle
parents f291b9fe 9e5f3ec9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ public class NinePatchDrawable extends Drawable {
     */
    @Deprecated
    public NinePatchDrawable(NinePatch patch) {
        this(new NinePatchState(patch, null), null);
        this(new NinePatchState(patch, new Rect()), null);
    }

    /**
@@ -89,7 +89,7 @@ public class NinePatchDrawable extends Drawable {
     * based on the display metrics of the resources.
     */
    public NinePatchDrawable(Resources res, NinePatch patch) {
        this(new NinePatchState(patch, null), res);
        this(new NinePatchState(patch, new Rect()), res);
        mNinePatchState.mTargetDensity = mTargetDensity;
    }