Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fingerprint] use sailfish-devicelock-fpd, add fingerprint config, ad…
…d fingerprint wait service. JB#44327 The wait service is required to avoid issues with: sonyxperiadev/vendor-sony-oss-fingerprint@375934d
- Loading branch information
Showing
7 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[fpslave] | ||
template_directory_owner_quirk = system | ||
template_directory_group_quirk = system | ||
template_directory_mode_quirk = 0770 | ||
|
||
fphal_max_fingerprints_quirk = 5 | ||
|
||
mass_remove_single_notify_quirk = 0 | ||
set_active_group_twice_quirk = 0 | ||
skip_post_enroll_quirk = 0 | ||
skip_enumerate_quirk = 1 | ||
no_cancel_notification_quirk = 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[Unit] | ||
Description=Wait for fingerprint | ||
DefaultDependencies=no | ||
Requires=dbus.socket | ||
After=dbus.socket | ||
After=local-fs.target | ||
After=droid-hal-init.service | ||
After=droid-late-start.service | ||
Before=sailfish-fpd.service | ||
Conflicts=shutdown.target | ||
|
||
[Service] | ||
Type=oneshot | ||
ExecStart=/bin/sh /usr/bin/droid/fingerprint-wait.sh | ||
|
||
[Install] | ||
WantedBy=multi-user.target | ||
|
1 change: 1 addition & 0 deletions
1
sparse/lib/systemd/system/multi-user.target.wants/fingerprint-wait.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../fingerprint-wait.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
while [ "$(getprop sys.boot_completed)" != "1" ]; do | ||
echo "Waiting for boot complete" | ||
sleep 1 | ||
done | ||
|
||
sleep 1 | ||
|