zenfone7: Add resources for Fp on the side with few translations
Change-Id: I30e4b97fdb3ca80650f044596477bb2011a54607
diff --git a/device.mk b/device.mk
index c928827..2f27f49 100755
--- a/device.mk
+++ b/device.mk
@@ -31,6 +31,7 @@
PRODUCT_PACKAGES += \
FrameworksResDeviceOverlay \
FrameworksResVendorOverlay \
+ SettingsDeviceOverlay \
SystemUIDeviceOverlay
ifeq ($(ROM_BUILDTYPE),$(filter $(ROM_BUILDTYPE),GAPPS))
diff --git a/rro_overlays/SettingsOverlay/Android.bp b/rro_overlays/SettingsOverlay/Android.bp
new file mode 100644
index 0000000..e79ec76
--- /dev/null
+++ b/rro_overlays/SettingsOverlay/Android.bp
@@ -0,0 +1,5 @@
+runtime_resource_overlay {
+ name: "SettingsDeviceOverlay",
+ sdk_version: "current",
+ product_specific: true,
+}
diff --git a/rro_overlays/SettingsOverlay/AndroidManifest.xml b/rro_overlays/SettingsOverlay/AndroidManifest.xml
new file mode 100644
index 0000000..5bfb132
--- /dev/null
+++ b/rro_overlays/SettingsOverlay/AndroidManifest.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.settings.device.overlay">
+
+ <overlay
+ android:isStatic="true"
+ android:priority="800"
+ android:targetPackage="com.android.settings" />
+</manifest>
+
diff --git a/rro_overlays/SettingsOverlay/res/drawable-nodpi/fingerprint_sensor_location.png b/rro_overlays/SettingsOverlay/res/drawable-nodpi/fingerprint_sensor_location.png
new file mode 100644
index 0000000..307cd3f
--- /dev/null
+++ b/rro_overlays/SettingsOverlay/res/drawable-nodpi/fingerprint_sensor_location.png
Binary files differ
diff --git a/rro_overlays/SettingsOverlay/res/values-de/strings.xml b/rro_overlays/SettingsOverlay/res/values-de/strings.xml
new file mode 100644
index 0000000..f1277ed
--- /dev/null
+++ b/rro_overlays/SettingsOverlay/res/values-de/strings.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/**
+ * Copyright (c) 2022, The OmniRom Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+<resources>
+ <!-- Message shown in fingerprint enrollment dialog to locate the sensor -->
+ <string name="asus_security_settings_fingerprint_enroll_find_sensor_message_back">Suchen Sie den Fingerabdruck-Scanner auf der rechten Seite Ihres Geräts. Legen Sie wiederholt vorsichtig einen anderen Bereich Ihres Fingers auf die Mitte des Fingerabdruck-Scanners, bis Ihr Fingerabdruck erfasst ist.</string>
+</resources>
diff --git a/rro_overlays/SettingsOverlay/res/values-es/strings.xml b/rro_overlays/SettingsOverlay/res/values-es/strings.xml
new file mode 100644
index 0000000..194f2d0
--- /dev/null
+++ b/rro_overlays/SettingsOverlay/res/values-es/strings.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/**
+ * Copyright (c) 2022, The OmniRom Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+<resources>
+ <!-- Message shown in fingerprint enrollment dialog to locate the sensor -->
+ <string name="security_settings_fingerprint_enroll_find_sensor_message">Busque el escáner de huellas dactilares en la parte derecha de su dispositivo. Coloque con suavidad y reiteradamente una zona diferente del dedo en el centro del escáner de huellas dactilares hasta capturar la huella dactilar.</string>
+</resources>
diff --git a/rro_overlays/SettingsOverlay/res/values-fr/strings.xml b/rro_overlays/SettingsOverlay/res/values-fr/strings.xml
new file mode 100644
index 0000000..bbc2ef2
--- /dev/null
+++ b/rro_overlays/SettingsOverlay/res/values-fr/strings.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/**
+ * Copyright (c) 2022, The OmniRom Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+<resources>
+ <!-- Message shown in fingerprint enrollment dialog to locate the sensor -->
+ <string name="security_settings_fingerprint_enroll_find_sensor_message">Le scanner d\'empreintes digitales se trouve sur le côté droit de votre appareil. Placez doucement et de façon répétée une autre partie de votre doigt au centre du scanner d\'empreintes digitales jusqu\'à ce que votre empreinte digitale soit capturée.</string>
+</resources>
diff --git a/rro_overlays/SettingsOverlay/res/values-it/strings.xml b/rro_overlays/SettingsOverlay/res/values-it/strings.xml
new file mode 100644
index 0000000..183edcd
--- /dev/null
+++ b/rro_overlays/SettingsOverlay/res/values-it/strings.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/**
+ * Copyright (c) 2022, The OmniRom Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+<resources>
+ <!-- Message shown in fingerprint enrollment dialog to locate the sensor -->
+ <string name="security_settings_fingerprint_enroll_find_sensor_message">Individua lo scanner di impronte digitali sul lato destro del dispositivo. Metti ripetutamente diverse parti del dito sul centro dello scanner di impronte finché la tua impronta non viene catturata.</string>
+</resources>
diff --git a/rro_overlays/SettingsOverlay/res/values-ru/strings.xml b/rro_overlays/SettingsOverlay/res/values-ru/strings.xml
new file mode 100644
index 0000000..6f104ef
--- /dev/null
+++ b/rro_overlays/SettingsOverlay/res/values-ru/strings.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/**
+ * Copyright (c) 2022, The OmniRom Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+<resources>
+ <!-- Message shown in fingerprint enrollment dialog to locate the sensor -->
+ <string name="security_settings_fingerprint_enroll_find_sensor_message">Найдите сканер отпечатка пальца с правой стороны устройства. Несколько раз приложите разные области пальца по центру сканера, пока отпечаток пальца не будет захвачен.</string>
+</resources>
diff --git a/rro_overlays/SettingsOverlay/res/values/dimens.xml b/rro_overlays/SettingsOverlay/res/values/dimens.xml
new file mode 100644
index 0000000..5cea33d
--- /dev/null
+++ b/rro_overlays/SettingsOverlay/res/values/dimens.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2022, The OmniRom Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <dimen name="fingerprint_dot_radius">0dp</dimen>
+ <dimen name="fingerprint_pulse_radius">0dp</dimen>
+
+</resources>
diff --git a/rro_overlays/SettingsOverlay/res/values/strings.xml b/rro_overlays/SettingsOverlay/res/values/strings.xml
new file mode 100644
index 0000000..1030a14
--- /dev/null
+++ b/rro_overlays/SettingsOverlay/res/values/strings.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/**
+ * Copyright (c) 2022, The OmniRom Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+<resources>
+ <!-- Message shown in fingerprint enrollment dialog to locate the sensor -->
+ <string name="security_settings_fingerprint_enroll_find_sensor_message">Find the fingerprint scanner on the right side of your device. Repeatedly gently place a different area of your finger on the center of the fingerprint scanner until your fingerprint is captured.</string>
+</resources>