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

Commit 313c0367 authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

Make BitmapDrawable#getTint[Mode] private

Bug: 154628299
Test: make

This method is no longer used internally. This class is moving to a
mainline module, which should not expose any @hidden methods. Leave the
methods for now due to UnsupportedAppUsage.

Change-Id: I8fbae367d318ddc585c954e6279afe16dacd325f
parent c8d49eff
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -696,18 +696,18 @@ public class BitmapDrawable extends Drawable {
    }

    /**
     * @hide only needed by a hack within ProgressBar
     * No longer needed by ProgressBar, but still here due to UnsupportedAppUsage.
     */
    @UnsupportedAppUsage
    public ColorStateList getTint() {
    private ColorStateList getTint() {
        return mBitmapState.mTint;
    }

    /**
     * @hide only needed by a hack within ProgressBar
     * No longer needed by ProgressBar, but still here due to UnsupportedAppUsage.
     */
    @UnsupportedAppUsage
    public Mode getTintMode() {
    private Mode getTintMode() {
        return BlendMode.blendModeToPorterDuffMode(mBitmapState.mBlendMode);
    }