Restore getTintMode() method on BitmapDrawable

Change-Id: I8fffc90ce3f0811d75b517d2dfc71de731188da6
This commit is contained in:
Alan Viverette
2014-02-26 17:20:10 -08:00
parent 09ceac298c
commit af7c240b99

View File

@@ -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.