Find BitmapFactory.decode* calls
ProprietaryBitmapFactory.decode* without an explicit BitmapFactory.Options.inSampleSize allocates the bitmap at full source resolution. For UI use, downsample via inSampleSize (or move the entire concern to Coil/Glide, which handle pooling, lifecycle, and downsampling for you).
org. openrewrite. kotlin. android. FindBitmapFactoryDecode$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. android. FindBitmapFactoryDecode$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.