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

Commit c578d38e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Deprecate Drawable#getOpacity"

parents 311f0ff0 3d5c03df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14990,7 +14990,7 @@ package android.graphics.drawable {
    method public final int getLevel();
    method public int getMinimumHeight();
    method public int getMinimumWidth();
    method public abstract int getOpacity();
    method public abstract deprecated int getOpacity();
    method public android.graphics.Insets getOpticalInsets();
    method public void getOutline(android.graphics.Outline);
    method public boolean getPadding(android.graphics.Rect);
+3 −1
Original line number Diff line number Diff line
@@ -934,11 +934,13 @@ public abstract class Drawable {
     * do account for the value of {@link #setAlpha}, but the general behavior is dependent
     * upon the implementation of the subclass.
     *
     * @deprecated This method is no longer used in graphics optimizations
     *
     * @return int The opacity class of the Drawable.
     *
     * @see android.graphics.PixelFormat
     */
    public abstract @PixelFormat.Opacity int getOpacity();
    @Deprecated public abstract @PixelFormat.Opacity int getOpacity();

    /**
     * Return the appropriate opacity value for two source opacities.  If