Merge "Revert "Fix test case fail""
This commit is contained in:
@@ -22,7 +22,6 @@ import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
|
||||
import androidx.annotation.XmlRes;
|
||||
import androidx.preference.Preference;
|
||||
import androidx.preference.PreferenceScreen;
|
||||
|
||||
import com.android.settings.overlay.FeatureFactory;
|
||||
@@ -79,14 +78,6 @@ public abstract class InstrumentedPreferenceFragment extends ObservablePreferenc
|
||||
updateActivityTitleWithScreenTitle(getPreferenceScreen());
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends Preference> T findPreference(CharSequence key) {
|
||||
if (key == null) {
|
||||
return null;
|
||||
}
|
||||
return super.findPreference(key);
|
||||
}
|
||||
|
||||
protected final Context getPrefContext() {
|
||||
return getPreferenceManager().getContext();
|
||||
}
|
||||
|
Reference in New Issue
Block a user