Restore getTintMode() method on BitmapDrawable
Change-Id: I8fffc90ce3f0811d75b517d2dfc71de731188da6
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user