Skip to content

Commit 80d5ba5

Browse files
drchenafohrman
authored andcommitted
[Switch] Internal change
PiperOrigin-RevId: 449794117
1 parent b3a7daf commit 80d5ba5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/java/com/google/android/material/materialswitch/MaterialSwitch.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
import android.os.Build.VERSION;
3232
import android.os.Build.VERSION_CODES;
3333
import androidx.appcompat.content.res.AppCompatResources;
34-
import android.support.v7.graphics.drawable.AnimatedStateListDrawableCompat;
34+
import androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat;
3535
import androidx.appcompat.widget.DrawableUtils;
3636
import androidx.appcompat.widget.SwitchCompat;
3737
import 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);

0 commit comments

Comments
 (0)