"DefaultBitmapMemoryCacheParamsSupplier. mActivityManager.getMemoryClass() is retrieving the JVM heap size. Since on Android 8.0 and above the bitmap data is stored in native memory, wouldn’t it be better to calculate based on the process’s available memory instead?"