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:
Sunny Shao
2024-10-16 12:04:14 +08:00
parent 068ac9d264
commit 3d2f06fd7b
4 changed files with 99 additions and 0 deletions

View File

@@ -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;
}
}