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:
@@ -23,7 +23,7 @@ import android.view.textservice.TextServicesManager;
|
||||
import com.android.settings.R;
|
||||
import com.android.settings.core.PreferenceControllerMixin;
|
||||
import com.android.settingslib.core.AbstractPreferenceController;
|
||||
import com.android.settingslib.inputmethod.InputMethodAndSubtypeUtil;
|
||||
import com.android.settingslib.inputmethod.InputMethodAndSubtypeUtilCompat;
|
||||
|
||||
import androidx.preference.Preference;
|
||||
import androidx.preference.PreferenceScreen;
|
||||
@@ -46,7 +46,7 @@ public class SpellCheckerPreferenceController extends AbstractPreferenceControll
|
||||
super.displayPreference(screen);
|
||||
final Preference preference = screen.findPreference(KEY_SPELL_CHECKERS);
|
||||
if (preference != null) {
|
||||
InputMethodAndSubtypeUtil.removeUnnecessaryNonPersistentPreference(preference);
|
||||
InputMethodAndSubtypeUtilCompat.removeUnnecessaryNonPersistentPreference(preference);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user