Skip to content

Commit

Permalink
alioth: overlay-lineage: Set proper fingerprint sensor location
Browse files Browse the repository at this point in the history
Change-Id: I5870100b1df2004f0541bba22f7a355234d082c6
  • Loading branch information
SahilSonar committed Jul 30, 2021
1 parent 3937e48 commit 4993b8f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
3 changes: 2 additions & 1 deletion device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ PRODUCT_PACKAGES += \

# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay
$(LOCAL_PATH)/overlay \
$(LOCAL_PATH)/overlay-lineage

# Device uses high-density artwork where available
PRODUCT_AAPT_CONFIG := normal
Expand Down
23 changes: 23 additions & 0 deletions overlay-lineage/packages/apps/Settings/res/values/config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?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">3</integer>
</resources>

0 comments on commit 4993b8f

Please sign in to comment.