ALLOW_HARDWARE_CONFIG

val ALLOW_HARDWARE_CONFIG: Option<Boolean>

Indicates that it's safe or unsafe to decode Bitmaps with HARDWARE.

Callers should almost never set this value to true manually. Glide will already do so when Glide believes it's safe to do (when no transformations are applied). Instead, callers can set this value to false to prevent Glide from decoding hardware bitmaps if Glide is unable to detect that hardware bitmaps are unsafe. For example, you should set this to false if you plan to draw it to a software android.graphics.Canvas or if you plan to inspect the Bitmaps pixels with getPixel or getPixels.

Callers can disable hardware Bitmaps for all loads using setDefaultRequestOptions.

This option is ignored unless we're on Android O+.