OpenGL verification
This commit is contained in:
parent
73e42e9557
commit
4faf931d20
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ public class DevelopmentSettingsFragment extends BaseSettingsFragment {
|
|||
|
||||
private void setupOpenglRenderPref() {
|
||||
SwitchPreferenceEx useOpenglRender = findPreference(settings.USE_OPENGL_RENDER.getId());
|
||||
if (app.getSettings().USE_OPENGL_RENDER.get() && NativeCoreContext.isInit()) {
|
||||
if (Version.isOpenGlAvailable(app)) {
|
||||
assert useOpenglRender != null;
|
||||
useOpenglRender.setDescription(getString(R.string.use_opengl_render_descr));
|
||||
useOpenglRender.setIconSpaceReserved(false);
|
||||
|
|
|
@ -111,7 +111,7 @@ public class SettingsDevelopmentActivity extends SettingsBaseActivity {
|
|||
debug.addPreference(createCheckBoxPreference(settings.SHOULD_SHOW_FREE_VERSION_BANNER,
|
||||
R.string.show_free_version_banner,
|
||||
R.string.show_free_version_banner_description));
|
||||
|
||||
|
||||
pref = new Preference(this);
|
||||
pref.setTitle(R.string.test_voice_prompts);
|
||||
pref.setSummary(R.string.play_commands_of_currently_selected_voice);
|
||||
|
|
Loading…
Reference in a new issue