mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_miatoll.git
synced 2025-05-04 13:17:26 +09:00
sm6250-common: fingerprint: update for xiaomi sm6250
This commit is contained in:
parent
2f0646f292
commit
f5a6695e08
@ -14,10 +14,10 @@
|
|||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
cc_binary {
|
cc_binary {
|
||||||
name: "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998",
|
name: "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6250",
|
||||||
relative_install_path: "hw",
|
relative_install_path: "hw",
|
||||||
defaults: ["hidl_defaults"],
|
defaults: ["hidl_defaults"],
|
||||||
init_rc: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998.rc"],
|
init_rc: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6250.rc"],
|
||||||
srcs: ["service.cpp", "BiometricsFingerprint.cpp"],
|
srcs: ["service.cpp", "BiometricsFingerprint.cpp"],
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libbase",
|
"libbase",
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
#define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998"
|
#define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6250"
|
||||||
|
|
||||||
#include <hardware/hw_auth_token.h>
|
#include <hardware/hw_auth_token.h>
|
||||||
|
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998
|
|
||||||
class late_start
|
|
||||||
user system
|
|
||||||
group system input uhid
|
|
||||||
writepid /dev/cpuset/system-background/tasks
|
|
||||||
|
|
||||||
on post-fs-data
|
|
||||||
mkdir /data/vendor/fpc 0770 system system
|
|
||||||
chown system system /data/vendor/fpc/calibration_image.pndat
|
|
||||||
chmod 0600 /data/vendor/fpc/calibration_image.pndat
|
|
||||||
mkdir /data/vendor/goodix 0770 system system
|
|
||||||
mkdir /mnt/vendor/persist/fpc 0770 system system
|
|
||||||
chown system system /data/vendor
|
|
@ -0,0 +1,9 @@
|
|||||||
|
service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6250
|
||||||
|
class late_start
|
||||||
|
user system
|
||||||
|
group system input uhid
|
||||||
|
writepid /dev/cpuset/system-background/tasks
|
||||||
|
|
||||||
|
on post-fs-data
|
||||||
|
mkdir /data/vendor/goodix 0777 system system
|
||||||
|
mkdir /data/vendor/fpc 0777 system system
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998"
|
#define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6250"
|
||||||
|
|
||||||
#include <android/log.h>
|
#include <android/log.h>
|
||||||
#include <hidl/HidlTransportSupport.h>
|
#include <hidl/HidlTransportSupport.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user