File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/java/com/google/android/material/materialswitch Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3131import android .os .Build .VERSION ;
3232import android .os .Build .VERSION_CODES ;
3333import androidx .appcompat .content .res .AppCompatResources ;
34- import android . support . v7 .graphics .drawable .AnimatedStateListDrawableCompat ;
34+ import androidx . appcompat .graphics .drawable .AnimatedStateListDrawableCompat ;
3535import androidx .appcompat .widget .DrawableUtils ;
3636import androidx .appcompat .widget .SwitchCompat ;
3737import androidx .appcompat .widget .TintTypedArray ;
@@ -273,7 +273,7 @@ public PorterDuff.Mode getTrackDecorationTintMode() {
273273
274274 // TODO(b/227338106): remove this workaround to use super.getThumbPosition() directly after
275275 // AppCompat 1.6.0-stable is released.
276- private float getThumbPosition () {
276+ private float getThumbPos () {
277277 return thumbPosition .get ();
278278 }
279279
@@ -307,7 +307,7 @@ private void updateDrawableTints() {
307307 return ;
308308 }
309309
310- float thumbPosition = getThumbPosition ();
310+ float thumbPosition = getThumbPos ();
311311
312312 int [] currentState = getDrawableState ();
313313 int [] currentStateUnchecked = getUncheckedState (currentState );
You can’t perform that action at this time.
0 commit comments