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

Commit af7c240b authored by Alan Viverette's avatar Alan Viverette
Browse files

Restore getTintMode() method on BitmapDrawable

Change-Id: I8fffc90ce3f0811d75b517d2dfc71de731188da6
parent 09ceac29
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -602,6 +602,16 @@ public class BitmapDrawable extends Drawable {
        }
    }

    /**
     * Returns the tint mode for this drawable, or {@code null} if none set.
     *
     * @return the tint mode for this drawable, or {@code null} if none set
     * @hide
     */
    public Mode getTintMode() {
        return mBitmapState.mTintMode;
    }

    /**
     * Ensures the tint filter is consistent with the current tint color and
     * mode.