Add entry in Settings/Maintenance for the OpenGL ES 3.0 Setting
The new Setting to enable/disable OpenGL ES 3.0 support should
be accessible from the System Settings.
Issue: FP2N-387
Change-Id: If548c55be6087671874a0f1a1a0812299d5eabc9
diff --git a/res/values-de/fairphone_strings.xml b/res/values-de/fairphone_strings.xml
index 9bce036..c5a9eed 100644
--- a/res/values-de/fairphone_strings.xml
+++ b/res/values-de/fairphone_strings.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2018 Fairphone B.V.
+<!-- Copyright (C) 2018-2019 Fairphone B.V.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -28,4 +28,6 @@
<string name="camera_module_ov8865">Hauptkamera 8MP – OmniVision OV8865</string>
<string name="camera_module_ov12870">Hauptkamera 12MP – OmniVision OV12870</string>
<string name="battery_module_info">Informationen zum Akku</string>
+ <string name="opengles3_setting_title">Erweiterte 3D-Graphik-Unterstützung</string>
+ <string name="opengles3_setting_summary">OpenGL ES 3.0 aktivieren</string>
</resources>
diff --git a/res/values-es/fairphone_strings.xml b/res/values-es/fairphone_strings.xml
index d99787c..2cb04f6 100644
--- a/res/values-es/fairphone_strings.xml
+++ b/res/values-es/fairphone_strings.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2018 Fairphone B.V.
+<!-- Copyright (C) 2018-2019 Fairphone B.V.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -28,4 +28,6 @@
<string name="camera_module_ov8865">Cámara principal – 8MP OmniVision OV8865</string>
<string name="camera_module_ov12870">Cámara principal – 12MP OmniVision OV12870</string>
<string name="battery_module_info">Información sobre la batería</string>
+ <string name="opengles3_setting_title">Sporte de gráficos 3D mejorado</string>
+ <string name="opengles3_setting_summary">Habilitar OpenGL ES 3.0</string>
</resources>
diff --git a/res/values-nl/fairphone_strings.xml b/res/values-nl/fairphone_strings.xml
index 7481ee0..020ea7d 100644
--- a/res/values-nl/fairphone_strings.xml
+++ b/res/values-nl/fairphone_strings.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2018 Fairphone B.V.
+<!-- Copyright (C) 2018-2019 Fairphone B.V.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -28,4 +28,6 @@
<string name="camera_module_ov8865">Primaire camera 8MP – OmniVision OV8865</string>
<string name="camera_module_ov12870">Primaire camera 12MP – OmniVision OV12870</string>
<string name="battery_module_info">Batterij info</string>
+ <string name="opengles3_setting_title">Verbeterde 3D graphics ondersteuning</string>
+ <string name="opengles3_setting_summary">Schakel OpenGL ES 3.0 in</string>
</resources>
diff --git a/res/values/fairphone_strings.xml b/res/values/fairphone_strings.xml
index e8c2a2b..fee388f 100644
--- a/res/values/fairphone_strings.xml
+++ b/res/values/fairphone_strings.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2018 Fairphone B.V.
+<!-- Copyright (C) 2018-2019 Fairphone B.V.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -49,4 +49,6 @@
<string name="battery_module_summary" translatable="false"><xliff:g id="version"
example="FP2-BAT01">%1$s</xliff:g> – <xliff:g id="capacity"
example="2420">%2$d</xliff:g> mAh</string>
+ <string name="opengles3_setting_title">Enhanced 3D graphics support</string>
+ <string name="opengles3_setting_summary">Enable OpenGL ES 3.0</string>
</resources>
diff --git a/res/xml/maintenance_prefs.xml b/res/xml/maintenance_prefs.xml
index b191a18..2b4041e 100644
--- a/res/xml/maintenance_prefs.xml
+++ b/res/xml/maintenance_prefs.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2018 Fairphone B.V.
+<!-- Copyright (C) 2018-2019 Fairphone B.V.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -46,4 +46,14 @@
</PreferenceScreen>
+ <PreferenceScreen android:key="opengles3_settings"
+ android:title="@string/opengles3_setting_title"
+ android:summary="@string/opengles3_setting_summary">
+
+ <intent android:action="android.intent.action.MAIN"
+ android:targetPackage="com.fairphone.fp2.settings"
+ android:targetClass="com.fairphone.fp2.settings.ui.OpenGLES3SettingActivity" />
+
+ </PreferenceScreen>
+
</PreferenceScreen>