diff --git a/common.mk b/common.mk index 2c95681..635a41e 100644 --- a/common.mk +++ b/common.mk @@ -199,9 +199,6 @@ PRODUCT_PACKAGES += \ android.hardware.gatekeeper@1.0-impl \ android.hardware.gatekeeper@1.0-service -PRODUCT_COPY_FILES += \ - $(COMMON_PATH)/configs/init/android.hardware.gatekeeper@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gatekeeper@1.0-service.rc - # Health PRODUCT_PACKAGES += \ android.hardware.health@2.1.vendor diff --git a/configs/init/android.hardware.gatekeeper@1.0-service.rc b/configs/init/android.hardware.gatekeeper@1.0-service.rc deleted file mode 100644 index 79b7956..0000000 --- a/configs/init/android.hardware.gatekeeper@1.0-service.rc +++ /dev/null @@ -1,8 +0,0 @@ -service vendor.gatekeeper-1-0 /vendor/bin/hw/android.hardware.gatekeeper@1.0-service - interface android.hardware.gatekeeper@1.0::IGatekeeper default - class hal - user system - group system 5678 - -on post-fs-data - mkdir /data/vendor/gatekeeper 0770 system system diff --git a/rootdir/etc/init.samsung.rc b/rootdir/etc/init.samsung.rc index 5fac735..e95abbb 100644 --- a/rootdir/etc/init.samsung.rc +++ b/rootdir/etc/init.samsung.rc @@ -51,6 +51,9 @@ on early-init # pogo keyboard chown system system /sys/class/sec/sec_keypad/fw_update +on post-fs-data + mkdir /data/vendor/gatekeeper 0770 system system + on init symlink /dev/block/bootdevice/by-name/steady /dev/block/steady symlink /dev/block/bootdevice/by-name/persistent /dev/block/persistent