Loading graphics/java/android/graphics/pdf/PdfRenderer.java +3 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ import android.graphics.Rect; import android.os.ParcelFileDescriptor; import android.system.ErrnoException; import android.system.OsConstants; import com.android.internal.util.Preconditions; import dalvik.system.CloseGuard; import libcore.io.Libcore; Loading Loading @@ -375,6 +376,8 @@ public final class PdfRenderer implements AutoCloseable { @Nullable Matrix transform, @RenderMode int renderMode) { throwIfClosed(); destination = Preconditions.checkNotNull(destination, "bitmap null"); if (destination.getConfig() != Config.ARGB_8888) { throw new IllegalArgumentException("Unsupported pixel format"); } Loading Loading
graphics/java/android/graphics/pdf/PdfRenderer.java +3 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ import android.graphics.Rect; import android.os.ParcelFileDescriptor; import android.system.ErrnoException; import android.system.OsConstants; import com.android.internal.util.Preconditions; import dalvik.system.CloseGuard; import libcore.io.Libcore; Loading Loading @@ -375,6 +376,8 @@ public final class PdfRenderer implements AutoCloseable { @Nullable Matrix transform, @RenderMode int renderMode) { throwIfClosed(); destination = Preconditions.checkNotNull(destination, "bitmap null"); if (destination.getConfig() != Config.ARGB_8888) { throw new IllegalArgumentException("Unsupported pixel format"); } Loading