Merge "Correct the naming for homepage preference"
This commit is contained in:
committed by
Android (Google) Code Review
commit
877ff557fa
@@ -24,24 +24,24 @@ import androidx.preference.Preference;
|
||||
import com.android.settings.R;
|
||||
|
||||
/** A customized layout for homepage preference. */
|
||||
public class HomePagePreference extends Preference {
|
||||
public class HomepagePreference extends Preference {
|
||||
|
||||
public HomePagePreference(Context context) {
|
||||
public HomepagePreference(Context context) {
|
||||
super(context);
|
||||
setLayoutResource(R.layout.homepage_preference);
|
||||
}
|
||||
|
||||
public HomePagePreference(Context context, AttributeSet attrs) {
|
||||
public HomepagePreference(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
setLayoutResource(R.layout.homepage_preference);
|
||||
}
|
||||
|
||||
public HomePagePreference(Context context, AttributeSet attrs, int defStyleAttr) {
|
||||
public HomepagePreference(Context context, AttributeSet attrs, int defStyleAttr) {
|
||||
this(context, attrs, defStyleAttr, /* defStyleRes= */ 0);
|
||||
setLayoutResource(R.layout.homepage_preference);
|
||||
}
|
||||
|
||||
public HomePagePreference(Context context, AttributeSet attrs,
|
||||
public HomepagePreference(Context context, AttributeSet attrs,
|
||||
int defStyleAttr, int defStyleRes) {
|
||||
super(context, attrs, defStyleAttr, defStyleRes);
|
||||
setLayoutResource(R.layout.homepage_preference);
|
||||
@@ -30,7 +30,7 @@ import com.android.settings.R;
|
||||
import com.android.settingslib.RestrictedPreferenceHelper;
|
||||
|
||||
/** Homepage preference that can be disabled by a device admin using a user restriction. */
|
||||
public class RestrictedHomepagePreference extends HomePagePreference {
|
||||
public class RestrictedHomepagePreference extends HomepagePreference {
|
||||
private RestrictedPreferenceHelper mHelper;
|
||||
|
||||
public RestrictedHomepagePreference(Context context, AttributeSet attrs,
|
||||
|
||||
Reference in New Issue
Block a user