Migrate Settings to androidx.
Test: make Settings
Bug: 76692459
Change-Id: I941dea40562170649bf056e675cc32e5163c0e39
Merged-In: I941dea40562170649bf056e675cc32e5163c0e39
(cherry picked from commit a290b873d0)
This commit is contained in:
committed by
Colin Cross
parent
6e65a32468
commit
b1af85d155
@@ -19,8 +19,8 @@ import android.content.Intent;
|
||||
import android.content.res.TypedArray;
|
||||
import android.net.NetworkTemplate;
|
||||
import android.os.Bundle;
|
||||
import android.support.v4.content.res.TypedArrayUtils;
|
||||
import android.support.v7.preference.Preference;
|
||||
import androidx.core.content.res.TypedArrayUtils;
|
||||
import androidx.preference.Preference;
|
||||
import android.util.AttributeSet;
|
||||
import android.util.FeatureFlagUtils;
|
||||
|
||||
@@ -41,7 +41,7 @@ public class DataUsagePreference extends Preference implements TemplatePreferenc
|
||||
final TypedArray a = context.obtainStyledAttributes(
|
||||
attrs, new int[] {com.android.internal.R.attr.title},
|
||||
TypedArrayUtils.getAttr(
|
||||
context, android.support.v7.preference.R.attr.preferenceStyle,
|
||||
context, androidx.preference.R.attr.preferenceStyle,
|
||||
android.R.attr.preferenceStyle), 0);
|
||||
mTitleRes = a.getResourceId(0, 0);
|
||||
a.recycle();
|
||||
|
||||
Reference in New Issue
Block a user