Migrate Text Reading
Add the skeleton of the Text Reading Test: atest TextReadingScreenTest Bug: 372776688 Flag: com.android.settings.flags.catalyst_text_reading_screen Change-Id: Ic5afa8da5ee7ea02d9ce9479c14d2c71e751dee4
This commit is contained in:
@@ -30,6 +30,8 @@ import android.view.View;
|
||||
import android.widget.Toast;
|
||||
|
||||
import androidx.annotation.IntDef;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.app.AlertDialog;
|
||||
|
||||
import com.android.settings.R;
|
||||
@@ -313,4 +315,9 @@ public class TextReadingPreferenceFragment extends DashboardFragment {
|
||||
|
||||
public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
|
||||
new BaseSearchIndexProvider(R.xml.accessibility_text_reading_options);
|
||||
|
||||
@Override
|
||||
public @Nullable String getPreferenceScreenBindingKey(@NonNull Context context) {
|
||||
return TextReadingScreen.KEY;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user