Skip to content

Commit

Permalink
fajita: Configure FOD
Browse files Browse the repository at this point in the history
* Set the boolean
* Specify FP reader location

Change-Id: I1aea4d2408debab4080c799ed2e5b54ba442f27c
  • Loading branch information
roggif authored and itz63c committed Nov 18, 2020
1 parent 9a877a8 commit f0dcf7c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
22 changes: 22 additions & 0 deletions overlay-custom/frameworks/base/core/res/res/values/config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015-2016 The CyanogenMod Project
2017-2019 The LineageOS Project
2020 StatiXOS
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>
<!-- Shows the required view for in-display fingerprint -->
<bool name="config_supportsInDisplayFingerprint">true</bool>
</resources>
7 changes: 3 additions & 4 deletions overlay-custom/packages/apps/Settings/res/values/config.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
<!-- Copyright (C) 2020 The StatiXOS 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
Expand All @@ -21,6 +20,6 @@
1 = front
2 = left side
3 = right side
-->
<integer name="config_fingerprintSensorLocation">3</integer>
4 = FOD (front) -->
<integer name="config_fingerprintSensorLocation">4</integer>
</resources>

0 comments on commit f0dcf7c

Please sign in to comment.