1 // Copyright 2018 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 package org.chromium.ui.shadows; 6 7 import android.graphics.drawable.AnimatedStateListDrawable; 8 import android.graphics.drawable.Drawable; 9 10 import org.robolectric.annotation.Implements; 11 import org.robolectric.shadows.ShadowStateListDrawable; 12 13 @Implements(AnimatedStateListDrawable.class) 14 public class ShadowAnimatedStateListDrawable extends ShadowStateListDrawable { addState(int[] stateSet, Drawable drawable, int stateId)15 public void addState(int[] stateSet, Drawable drawable, int stateId) { 16 addState(stateSet, drawable); 17 } 18 } 19