Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61d7a8aa authored by Alan Viverette's avatar Alan Viverette Committed by android-build-merger
Browse files

Merge \\\"Disable constant state sharing for VectorDrawable\\\" into nyc-dev...

Merge \\\"Disable constant state sharing for VectorDrawable\\\" into nyc-dev am: f66bdf9b am: 25242a7b
am: edb98d23

Change-Id: Iad1b27849bfa501064cb3452caed3571fcdf8430
parents 3bdb78bd edb98d23
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -243,7 +243,9 @@ public class VectorDrawable extends Drawable {
     * constructors to set the state and initialize local properties.
     */
    private VectorDrawable(@NonNull VectorDrawableState state, @Nullable Resources res) {
        mVectorState = state;
        // Constant state sharing is disabled until we fix onStateChanged()
        // affecting the shared bitmap.
        mVectorState = new VectorDrawableState(state);
        updateLocalState(res);
    }