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

Commit 9548a1b0 authored by Andreas Gampe's avatar Andreas Gampe Committed by android-build-merger
Browse files

Merge "BitmapDrawable: Suppress errorprone warning" am: 25e50ccc am: 822e8289

am: 9c6acbd2

Change-Id: I4846f6b91fadbbd650e925c70215dea4d4459278
parents c1a378f2 9c6acbd2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -163,7 +163,7 @@ public class BitmapDrawable extends Drawable {
    /**
     * Create a drawable by opening a given file path and decoding the bitmap.
     */
    @SuppressWarnings("unused")
    @SuppressWarnings({ "unused", "ChainingConstructorIgnoresParameter" })
    public BitmapDrawable(Resources res, String filepath) {
        this(new BitmapState(BitmapFactory.decodeFile(filepath)), null);
        mBitmapState.mTargetDensity = mTargetDensity;
@@ -188,7 +188,7 @@ public class BitmapDrawable extends Drawable {
    /**
     * Create a drawable by decoding a bitmap from the given input stream.
     */
    @SuppressWarnings("unused")
    @SuppressWarnings({ "unused", "ChainingConstructorIgnoresParameter" })
    public BitmapDrawable(Resources res, java.io.InputStream is) {
        this(new BitmapState(BitmapFactory.decodeStream(is)), null);
        mBitmapState.mTargetDensity = mTargetDensity;