aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrdenKrieger <OrdenKriegerEDR@googlemail.com>2020-09-03 23:08:49 +0200
committerOrdenKrieger <OrdenKriegerEDR@googlemail.com>2021-01-15 00:49:19 +0100
commit1f1a74dfe0d1daea5489b68d77ffb83abc187a98 (patch)
treee5cf435b5dbc3a2bcf775eb769db9ef312d9aa77
parent3d9bb939c6de01e318622725496d61f10a85cc59 (diff)
obiwan: Set proper fingerprint sensor location
Change-Id: I5551569d0497f09a5d3984d7fe324967e1d6fbd1
-rw-r--r--overlay-lineage/packages/apps/Settings/res/values/config.xml26
-rw-r--r--overlay-lineage/packages/apps/Settings/res/values/dimens.xml20
2 files changed, 46 insertions, 0 deletions
diff --git a/overlay-lineage/packages/apps/Settings/res/values/config.xml b/overlay-lineage/packages/apps/Settings/res/values/config.xml
new file mode 100644
index 0000000..1ce6be6
--- /dev/null
+++ b/overlay-lineage/packages/apps/Settings/res/values/config.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2007 The Android Open 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">
+
+ <!-- Defines the location of the fingerprint sensor on the device
+ 0 = back
+ 1 = front
+ 2 = left side
+ 3 = right side
+ -->
+ <integer name="config_fingerprintSensorLocation">1</integer>
+</resources>
diff --git a/overlay-lineage/packages/apps/Settings/res/values/dimens.xml b/overlay-lineage/packages/apps/Settings/res/values/dimens.xml
new file mode 100644
index 0000000..1e336fd
--- /dev/null
+++ b/overlay-lineage/packages/apps/Settings/res/values/dimens.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open 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>
+ <!-- Fingerprint -->
+ <item name="fingerprint_sensor_location_fraction_y" type="fraction">75%</item>
+</resources>