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

Commit 1882ce94 authored by Alan Viverette's avatar Alan Viverette
Browse files

Disable constant state sharing for VectorDrawable

Bug: 29854240
Change-Id: Icc58d04ad6f471d05b085a9089893e4f7205eb7d
parent 43f6a45e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -240,7 +240,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);
    }