Settings Fragment Migration (Build pass app)
This patch focused on fixing compile errors and some runtime errors. Test: We can't test it now. But we will have an integration test later. Bug: 110259478 Change-Id: I16c471ddcd0fa1460c665b7f74d86fcace5ee67b
This commit is contained in:
@@ -27,7 +27,7 @@ import android.view.View;
|
||||
import android.widget.EditText;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.android.settingslib.CustomEditTextPreference;
|
||||
import com.android.settingslib.CustomEditTextPreferenceCompat;
|
||||
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
import androidx.preference.PreferenceViewHolder;
|
||||
@@ -35,7 +35,7 @@ import androidx.preference.PreferenceViewHolder;
|
||||
/**
|
||||
* {@code EditTextPreference} that supports input validation.
|
||||
*/
|
||||
public class ValidatedEditTextPreference extends CustomEditTextPreference {
|
||||
public class ValidatedEditTextPreference extends CustomEditTextPreferenceCompat {
|
||||
|
||||
public interface Validator {
|
||||
boolean isTextValid(String value);
|
||||
|
Reference in New Issue
Block a user