diff options
| author | Aurimas Liutikas <aurimas@google.com> | 2018-04-09 17:17:41 -0700 |
|---|---|---|
| committer | Raman Tenneti <rtenneti@google.com> | 2019-02-14 22:59:57 +0000 |
| commit | 1b693ea7df3fc27cd692602b51f8272a1559f39b (patch) | |
| tree | 249ec43a49b2deed5fb412a227c96d2103a5ea94 /src/com/android/messaging/util/SwitchCompatUtils.java | |
| parent | 7ea2a930be0dec9be9525715ad67ba458837dbb7 (diff) | |
Migrate Messaging to androidx.
Test: make messaging
Bug: 76692459
Change-Id: I9103450622f129311545648ac75f5b2f9fc2d04a
Merged-In: I9103450622f129311545648ac75f5b2f9fc2d04a
Diffstat (limited to 'src/com/android/messaging/util/SwitchCompatUtils.java')
| -rw-r--r-- | src/com/android/messaging/util/SwitchCompatUtils.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/com/android/messaging/util/SwitchCompatUtils.java b/src/com/android/messaging/util/SwitchCompatUtils.java index b5d1ed5..8cfe2bc 100644 --- a/src/com/android/messaging/util/SwitchCompatUtils.java +++ b/src/com/android/messaging/util/SwitchCompatUtils.java @@ -21,12 +21,12 @@ import android.content.res.ColorStateList; import android.graphics.Color; import android.graphics.PorterDuff; import android.graphics.drawable.Drawable; -import android.support.v7.graphics.drawable.DrawableWrapper; -import android.support.v7.widget.SwitchCompat; +import androidx.appcompat.graphics.drawable.DrawableWrapper; +import androidx.appcompat.widget.SwitchCompat; import android.util.TypedValue; /* Most methods in this file are copied from - * v7/appcompat/src/android/support/v7/internal/widget/TintManager.java. It would be better if + * v7/appcompat/src/androidx.appcompat.internal/widget/TintManager.java. It would be better if * we could have just extended the TintManager but this is a final class that we do not have * access to. */ @@ -78,7 +78,7 @@ public class SwitchCompatUtils { // Default enabled state states[i] = new int[0]; colors[i] = getThemeAttrColor(context, typedValue, - android.support.v7.appcompat.R.attr.colorSwitchThumbNormal); + androidx.appcompat.R.attr.colorSwitchThumbNormal); i++; return new ColorStateList(states, colors); } |
