Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: airbnb/lottie-android
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.7.0
Choose a base ref
...
head repository: airbnb/lottie-android
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.7.1
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Oct 31, 2025

  1. Safeguard against very large Bitmap creation (#2662)

    * Safeguard against very large Bitmap creation
    
    Because we rely on the transform `Matrix` returned from the `Canvas` to size a `Bitmap` when using software rendering, an erroneous matrix value can cause a very large Bitmap to be allocated, triggering an OutOfMemory exception.
    
    We've encountered such a situation when using `layoutlib` for screenshot tests, which uses a `NopCanvas` [on initial render](https://cs.android.com/android/_/android/platform/frameworks/layoutlib/+/7b05b277beee599532606e9bb6d7a71f5ca2ab6e:bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java;l=543;bpv=1;bpt=0;drc=085857f145aac790e2a08cf6eb9546f98e26c338) that can return an invalid `Matrix.
    
    * Use a hardcoded upper bound and add additional checks
    allenchen1154 authored Oct 31, 2025
    Configuration menu
    Copy the full SHA
    05ee1c1 View commit details
    Browse the repository at this point in the history
  2. v6.7.1

    allenchen1154 committed Oct 31, 2025
    Configuration menu
    Copy the full SHA
    c8addcb View commit details
    Browse the repository at this point in the history
Loading