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

Commit 4bd1a3db authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Show Bitmap.Config value when unable to handle.

Part of investigating http://b/3201172.

Change-Id: I76a31c968b4c60beb079349a0722aa9a4ea5921c
parent 4e74e181
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -352,7 +352,7 @@ public class Allocation extends BaseObj {
        if (bc == Bitmap.Config.RGB_565) {
            return Element.RGB_565(rs);
        }
        throw new RSInvalidStateException("Bad bitmap type.");
        throw new RSInvalidStateException("Bad bitmap type: " + bc);
    }

    static private Type typeFromBitmap(RenderScript rs, Bitmap b) {